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 |
|---|---|---|---|---|
breakout/breakout/GameComponents/Bat.cs | hutopi/breakout | 1 | 7058396 | <reponame>hutopi/breakout<gh_stars>1-10
// ***********************************************************************
// Assembly : Super Roberto Breakout
// Author : <NAME>
// Created : 06-07-2015
//
// Last Modified By : <NAME>
// Last Modified On : 06-07-2015
// *****************************... |
src/Microsoft.DotNet.Build.Tasks.Feed/src/SleetSettings.cs | kiapanahi/arcade | 567 | 7058397 | <gh_stars>100-1000
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
namespace Microsoft.DotNet.Build.Tasks.Feed
{
public class SleetSettings
{
public List<SleetSource> Sources { g... |
2018.02.12-OOPBasics/examPrep-2017.09.05GrandPrix/GrandPrix/Classes/Drivers/EnduranceDriver.cs | SimeonShterev/2018.01.22-2018.04.22-CSharpFundamentals | 0 | 7058398 | using System;
using System.Collections.Generic;
using System.Text;
public class EnduranceDriver : Driver
{
public EnduranceDriver(string type, string name, Car car)
: base("Endurance", name, car) { }
public override double FuelConsumptionPerKm => 1.5;
} |
WidgetBuilder/WidgetBuilder/DataType/IData.cs | onewhotyles/WidgetBuilder | 1 | 7058399 | using System;
using System.Data;
using System.Configuration;
using System.Web;
using umbraco.interfaces;
namespace WidgetBuilder
{
//this class is a token implementation of IData for use with data editors
public class DataInterface : IData
{
private object _value;
public DataInterface() ... |
src/shared.core/ProcessInformation.cs | pvandervelde/Sherlock | 1 | 7058400 | <filename>src/shared.core/ProcessInformation.cs
//-----------------------------------------------------------------------
// <copyright company="Sherlock">
// Copyright 2013 Sherlock. Licensed under the Apache License, Version 2.0.
// </copyright>
//-------------------------------------------------------------... |
AccountControl/Auth/Login.aspx.cs | kengu/account-control | 0 | 7058401 | <reponame>kengu/account-control<filename>AccountControl/Auth/Login.aspx.cs
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace AccountControl
{
public partial class Login : System.Web.UI.Pa... |
Bindding/ExcuteClasses/LicenseHelper.cs | MrBenWang/bind-refactor | 14 | 7058402 | <filename>Bindding/ExcuteClasses/LicenseHelper.cs
using EasyLicense.Lib.License;
using EasyLicense.Lib.License.Validator;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Management;
using System.Net;
using System.Security.Cryptography;
using System.Text;
using System.Xm... |
tenant-specific-static-files-in-saaskit/src/DatabaseMultiTenancyWithSaasKit/Services/AppTenantResolver.cs | Demonslyr/blog-examples | 323 | 7058403 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DatabaseMultiTenancyWithSaasKit.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Options;
using SaasKit.Multitenancy;
namespace DatabaseMultiTenancyWithSaasKit.Services
{
public class AppTenant... |
Codeco.Windows10/Controls/AddFileDialog.xaml.cs | pingzing/Keyper | 0 | 7058404 | using Codeco.Windows10.Models;
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Input;
// The User Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234236
namespace Codeco.Windows10.Controls
{
publ... |
AnwaltsKanzleiUI/Kalender.cs | AlexMikhaylov/Anwaltskanzlei | 0 | 7058405 | <reponame>AlexMikhaylov/Anwaltskanzlei
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using AnwaltsKanzleiLibrary;
using System.Globalization;
namespac... |
SolastaCommunityExpansion/Models/GuiWrapperContext.cs | PhilPJL/SolastaCommunityExpansion | 0 | 7058406 | using System.Collections.Generic;
using HarmonyLib;
using SolastaModApi.Infrastructure;
namespace SolastaCommunityExpansion.Models
{
internal static class GuiWrapperContext
{
internal static void Recache()
{
var guiWrapperService = ServiceRepository.GetService<IGuiWrapperService>()... |
PierresBakery/Controllers/VendorsController.cs | Pieharder/PierresBakery2.0 | 3 | 7058407 | using System.Collections.Generic;
using System;
using Microsoft.AspNetCore.Mvc;
using PierresBakery.Models;
namespace PierresBakery.Controllers
{
public class VendorController : Controller
{
[HttpGet("/vendor")]
public ActionResult Index()
{
List<Vendor> allVendors = Vendor.GetAll();
return... |
PublicAPI.Sample/Models/ResourceServer/Accounts/Plans/PlanGetModel.cs | intermedia-net/partner-api-sample-csharp | 1 | 7058408 | <reponame>intermedia-net/partner-api-sample-csharp<filename>PublicAPI.Sample/Models/ResourceServer/Accounts/Plans/PlanGetModel.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="PlanGetModel.cs" company="Intermedia">
// Copyr... |
src/Saucy.Tests/Providers/ProviderMatcherTests.cs | acraven/saucy | 0 | 7058409 | using FakeItEasy;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
using Saucy.Exceptions;
using Saucy.Providers;
namespace Saucy.Tests.Providers
{
public class ProviderMatcherTests
{
private IProvider _providerA;
private IProvider _providerB;
private JObject _packageLocator;
[SetUp]
... |
Objects/Band.cs | minhchan11/band_tracker | 0 | 7058411 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
namespace BandTrackerApp
{
public class Band
{
private int _id;
private string _name;
public Band(string bandName, int bandId = 0)
{
_id = bandId;
_name = bandName;
}
public int GetId()
... |
IVI.C.NET.Adapter/IviDownconverterAdapter.cs | mill1000/IVI.C.NET.Adapter | 12 | 7058412 | //--------------------------------------------------------------------------------------------------
//
// Copyright <NAME> <<EMAIL>>
//
// 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... |
Almacen.Portal/Views/Catalogos/Articulos.cshtml | marellano2404/SistemaInventario | 0 | 7058413 | @{
Layout = "~/Views/Shared/_Layout.cshtml";
}
<script src="~/angularJs/globalwebang.js"></script>
<script src="~/angularJs/viewmodels/catalogoscontroller.js"></script>
<script src="~/angularJs/services/catalogosmodel.js"></script>
<link href="~/css/datatables/css/dataTables.bootstrap4.css" rel="stylesheet" />
<di... |
src/Positron.Server.Hosting/ApplicationBuilderExtensions.cs | CenterEdge/Positron | 93 | 7058414 | using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Routing;
using Positron.Server.Hosting.FileProvider;
namespace Positron.Server.Hosting
{
/// <summary>
/// Extensions to <see cref="IApplicationBuilder"/> for Positron.
/// </summary>
public static class ApplicationBuilderExt... |
HealthyWork.API.Contracts/Models/Room.cs | davidgonzalezbarbe/HealthyWork | 0 | 7058415 | <reponame>davidgonzalezbarbe/HealthyWork
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace HealthyWork.API.Contracts.Models
{
public class Room
{
[Key]
public Guid Id { g... |
ExceptionReporter/ExceptionReporter/Web References/ua.com.artpoint.bug/Reference.cs | fossabot/core-11 | 0 | 7058416 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
FileOpeningBuilder/FileOpeningBuilder.cs | messerli-informatik-ag/file-opening-builder | 0 | 7058417 | #pragma warning disable 660,661
using System;
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics.Contracts;
using System.IO;
namespace Messerli.FileOpeningBuilder
{
[Equals]
public class FileOpeningBuilder : IFileOpeningBuilder
{
private readonly bool _create;
pr... |
Yu-Gi-Oh/File Handling/Main Files/Script_Data.cs | sadams115/Wolf | 32 | 7058419 | <filename>Yu-Gi-Oh/File Handling/Main Files/Script_Data.cs
using System.Collections.Generic;
using System.IO;
using System.Text;
using Yu_Gi_Oh.File_Handling.Utility;
namespace Yu_Gi_Oh.File_Handling.Main_Files
{
public class Script_Data : File_Data
{
private static readonly Encoding encoding = Encodi... |
AutoPatterns.Tests/AutoWithGeneratorTests.cs | nemesissoft/AutoPatterns | 1 | 7058421 | <reponame>nemesissoft/AutoPatterns<filename>AutoPatterns.Tests/AutoWithGeneratorTests.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Nemesis.CodeAnalysis;
using NUnit.Framework;
using static AutoPatterns.Tests.Utils;
namespace AutoPatterns.Tes... |
Source/Jade4Net/Lexer/Tokens/UnbufferedComment.cs | rnrn/Jade4Net | 5 | 7058422 | using System;
namespace Jade.Lexer.Tokens
{
public class UnbufferedComment : Token
{
public UnbufferedComment(String value, int lineNumber)
: base(value, lineNumber)
{
}
}
}
|
src/Dap.Server/DefaultDebugAdapterServerFacade.cs | jairbubbles/csharp-language-server-protocol | 322 | 7058424 | <reponame>jairbubbles/csharp-language-server-protocol
using DryIoc;
using OmniSharp.Extensions.DebugAdapter.Protocol;
using OmniSharp.Extensions.DebugAdapter.Protocol.Server;
using OmniSharp.Extensions.JsonRpc;
namespace OmniSharp.Extensions.DebugAdapter.Server
{
class DefaultDebugAdapterServerFacade : DebugAdapt... |
Assets/App/UrlSwapper.cs | LocalJoost/UnityTextureDownload | 1 | 7058426 | using System.Collections;
using System.Collections.Generic;
using HoloToolkit.Unity.InputModule;
using UnityEngine;
public class UrlSwapper : MonoBehaviour, IInputClickHandler
{
private List<DynamicTextureDownloader> _textureDownloaders;
private List<DynamicTextureDownloader> GetTextureDownloaders()
{
... |
Main/Config.cs | higflig/Cudi | 0 | 7058427 | using System.IO;
using Newtonsoft.Json;
namespace Cudi.Main
{
public class Config
{
public Settings Settings;
private readonly string filePath = "Resources/config.json";
public Config()
{
char[] seperators = new char[]{'/'};
string[] path = filePath.Spli... |
Nibbler/IImageSource.cs | nordseth/Nibbler | 2 | 7058428 | <filename>Nibbler/IImageSource.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
namespace Nibbler
{
public interface IImageSource
{
string Name { get; }
Task<Image> LoadImage();
Task<Stream> GetBlob(string digest);
... |
DemoMail.Test/DemoMail.Test/PageObjects/MainMailPage.cs | topsycreed/MailTestProject | 0 | 7058429 | <reponame>topsycreed/MailTestProject
using DemoMail.Test.WrapperFactory;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
using OpenQA.Selenium.Support.UI;
using System;
using System.Reflection;
namespace DemoMail_Nunit.Test
{
public class MainMailPage
{
#region FindElements by locato... |
src/I8Beef.Neato/Nucleo/Protocol/CommandType.cs | Sojaner/I8Beef.Neato | 1 | 7058431 | using System.Runtime.Serialization;
namespace I8Beef.Neato.Nucleo.Protocol
{
/// <summary>
/// Command type.
/// </summary>
public enum CommandType
{
/// <summary>
/// DismissCurrentAlert.
/// </summary>
[EnumMember(Value = "dismissCurrentAlert")]
DismissCur... |
ProjectReferencesBuilder/Services/RunnerService.cs | Doug-Murphy/Project-Info-Lister | 0 | 7058432 | using ProjectReferencesBuilder.Entities.Models;
using ProjectReferencesBuilder.Helpers;
using ProjectReferencesBuilder.Services.Interface;
using System;
using System.IO;
using System.Text.Json;
using System.Text.RegularExpressions;
namespace ProjectReferencesBuilder.Services
{
public class RunnerService : IRunner... |
02.StaticMemebersAndNamespaces/OtherHomeworks/StaticMemberAndNamespace/01.Point3D/Point3D.cs | ivayloivanof/OOP-CSharp | 0 | 7058433 | //-----------------------------------------------------------------------
// <copyright file="Point3D.cs" company = "SoftUni">
// Copyright (c) SoftUni. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
/* Problem 1. Create a class Point3D to hold a 3D-coor... |
Core/System.CoreEx_/Patterns/System.Core.Patterns/Patterns/Schema+Culture/CultureSchema.cs | Grimace1975/bclcontrib | 1 | 7058434 | #region License
/*
The MIT License
Copyright (c) 2008 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, mo... |
ForgeModGenerator/app/ForgeModGenerator.Wpf/Source/Controls/TextBox/SubmitTextBox.cs | Prastiwar/ForgeModGenerator | 4 | 7058435 | <reponame>Prastiwar/ForgeModGenerator
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Input;
namespace ForgeModGenerator.Controls
{
public class SubmitTextBox : TextBox
{
public SubmitTextBox() : base() => PreviewKeyDown += new KeyEven... |
tests/Deltatre.Utils.Tests/Extensions/Dictionary/DictionaryExtensionsTest.cs | deltatre-webplu/deltatre.utils | 2 | 7058436 | <filename>tests/Deltatre.Utils.Tests/Extensions/Dictionary/DictionaryExtensionsTest.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using Deltatre.Utils.Extensions.Dictionary;
using NUnit.Framework;
namespace Deltatre.Utils.Tests.Extensions.Dictionary
{
[TestFixture]
public class Di... |
tests/CommandQuery.AspNetCore.Tests/V3/ServiceCollectionExtensionsTests.cs | hlaueriksson/CommandQuery | 63 | 7058437 | #if !NETCOREAPP2_1
using System;
using System.Reflection;
using CommandQuery.Tests;
using FluentAssertions;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Controllers;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Ext... |
V3/Data/DebugMode.cs | sopra05/V3 | 3 | 7058438 | namespace V3.Data
{
/// <summary>
/// A debug level that can be set by the player.
/// </summary>
public enum DebugMode
{
/// <summary>
/// Disable all debug utils.
/// </summary>
Off,
/// <summary>
/// Show the FPS counter.
/// </summary>
... |
Filters/TokenAuthFilter.cs | mharj/DotnetBaseApi | 0 | 7058440 | using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.AspNetCore.Mvc;
using Microsoft.IdentityModel.Tokens;
using System.IdentityModel.Tokens.Jwt;
using System.Threading.Tasks;
using System.IdentityModel.Tokens;
using System.Security.Principal;
using System.Text;
using System;
namespace DotnetBaseApi.Filters
{
p... |
src/PhotoGallery/Photo/Edit.cshtml | AlexZeitler/WebApi.Examples | 1 | 7058441 | <filename>src/PhotoGallery/Photo/Edit.cshtml
@{
var photoId = UrlData[0].AsInt();
var db = Database.Open("PhotoGallery");
var photo = db.QuerySingle("SELECT * FROM Photos WHERE Id = @0", photoId);
if (photo == null) {
Response.SetStatus(HttpStatusCode.NotFound);
return;
}
... |
src/Galaxy/WebEnd/Views/Feed/List.cshtml | Codestellation/Galaxy | 3 | 7058442 | @using Codestellation.Galaxy.WebEnd
@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<Codestellation.Galaxy.WebEnd.Models.FeedListModel>
@{ Layout = "Master";}
<div class="alert alert-danger" role="alert" style="visibility: hidden">
<p>Feed in use!</p>
</div>
<div class="panel panel-default">
<div class="panel... |
ReadRTF/ReadRTF/frmByFolder.Designer.cs | waiwong/MyCSharpProjects | 1 | 7058443 | <reponame>waiwong/MyCSharpProjects<gh_stars>1-10
namespace ReadRTF
{
partial class frmByFolder
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources bei... |
Mafia.NET/Matches/Chats/Message.cs | war-man/Mafia.NET | 3 | 7058444 | using System.Collections.Generic;
using System.Collections.Immutable;
using Mafia.NET.Localization;
using Mafia.NET.Players;
namespace Mafia.NET.Matches.Chats
{
public class MessageIn
{
public MessageIn(IChatParticipant sender, string text)
{
Sender = sender;
Text = tex... |
samplecode/apisamples/EducationAccelerator.WebApi/EducationAccelerator.WebApi/Serializers/OneRosterDeserializer.cs | teachteamnfp/Industry-Accelerator-Education | 39 | 7058445 | using Newtonsoft.Json;
using System.Collections.Generic;
using System.Linq;
namespace EducationAccelerator.WebApi.Serializers
{
public class OneRosterDeserializer
{
public static List<T> Deserialize<T>(string json)
{
var result = JsonConvert.DeserializeObject<Dictionary<string, Lis... |
Domain/FilterTrees/IntegerFilterTrees/IntegerFilterTreeNode.cs | dataexplorer/dataexplorer | 29 | 7058446 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataExplorer.Domain.Columns;
using DataExplorer.Domain.Filters;
namespace DataExplorer.Domain.FilterTrees.IntegerFilterTrees
{
public class IntegerFilterTreeNode : ... |
Music/IPlayer.cs | AMWJ/CSharpMusicPlayer | 0 | 7058447 | <reponame>AMWJ/CSharpMusicPlayer
using System;
using System.Collections.Generic;
using System.Text;
namespace Music
{
public interface IPlayer
{
void Play(double offset, Note note);
}
} |
FlekoFramework/UnitTests/Common.Math/GeometryTest.cs | AlexandrSurkov/FlekoFramework | 0 | 7058448 | using Flekosoft.Common.Math;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Flekosoft.UnitTests.Common.Math
{
[TestClass]
public class GeometryTest
{
[TestMethod]
public void FindEllipseAndLineSegmentIntersectionsTest()
{
var rx = 10;
... |
StoreWeb.Domain/Entities/Costumer.cs | cesar8389/WebStore | 0 | 7058449 | <filename>StoreWeb.Domain/Entities/Costumer.cs<gh_stars>0
using StoreWeb.Domain.Entities.Abstract;
using System;
namespace StoreWeb.Domain.Entities
{
public class Costumer:Entity
{
public string Name { get; set; }
public string Cpf { get; set; }
public string Email { get; set; }
}
... |
ValueConverters.Shared/BoolToThicknessConverter.cs | thomasgalliker/ValueConverters.NET | 45 | 7058450 |
#if (NETFX || NET5_0_OR_GREATER)
using System.Windows;
#elif (NETFX_CORE)
using Windows.UI.Xaml;
#elif (XAMARIN)
using Xamarin.Forms;
#endif
namespace ValueConverters
{
public class BoolToThicknessConverter : BoolToValueConverter<Thickness>
{
}
}
|
src/ST/Docs/Samples/ISampleCache.cs | SeanKilleen/Storyteller | 0 | 7058451 | <gh_stars>0
using System.Collections.Generic;
namespace ST.Docs.Samples
{
public interface ISampleCache
{
void AddOrReplace(Sample sample);
Sample Find(string name);
IEnumerable<Sample> All();
}
} |
src/DotNetty.Codecs.Http2/Http2FrameTypes.cs | yyjdelete/SpanNetty | 262 | 7058452 | <reponame>yyjdelete/SpanNetty<filename>src/DotNetty.Codecs.Http2/Http2FrameTypes.cs<gh_stars>100-1000
/*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. Yo... |
IoTSharp/Dtos/HomeKanbanDto.cs | iioter/IoTSharp | 2 | 7058453 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace IoTSharp.Dtos
{
public class HomeKanbanDto
{
public int EventCount { get; set; }
public int OnlineDeviceCount { get; set; }
public int TelemetryDataCount { get; set; }
pu... |
wpfview/misc_wpf.cs | vborovikov/sawdust | 60 | 7058454 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Threading;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Medi... |
NetrixPackage/NetRixUI/UserInterface/ToolBox/ToolboxEventArgs.cs | apircher/netrix | 27 | 7058455 | <filename>NetrixPackage/NetRixUI/UserInterface/ToolBox/ToolboxEventArgs.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace GuruComponents.Netrix.UserInterface.ToolBox
{
/// <summary>
/// Event arguments for Toolbox.
/// </summary>
/// <remarks>
/// Provides access to s... |
HeatApp/HeatApp/ViewModels/HeatViewModels/Bus/BusProfileViewModel.cs | heat-project/heat-mobile-app | 0 | 7058456 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Input;
using HeatApp.Controls.PopupPages;
using HeatApp.Helpers;
using HeatApp.Interfaces;
using HeatApp.Models;
using HeatApp.Models.HeatModels.Bus;
using Rg.Plug... |
3-Business/2-Core/lm.Comol.Core.DomainModel/FileRepository/Domain/base/RepositoryFullSize.cs | EdutechSRL/Adevico | 1 | 7058457 | <filename>3-Business/2-Core/lm.Comol.Core.DomainModel/FileRepository/Domain/base/RepositoryFullSize.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace lm.Comol.Core.FileRepository.Domain
{
[Serializable]
public class RepositoryFullSize : lm.Comol.Core.DomainMo... |
WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Client/HostedSharePointServersProxy.cs | Key4ce/Websitepanel | 3 | 7058458 | // Copyright (c) 2019, WebsitePanel-Support.net.
// Distributed by websitepanel-support.net
// Build and fixed by Key4ce - IT Professionals
// https://www.key4ce.com
//
// Original source:
// Copyright (c) 2015, Outercurve Foundation.
// All rights reserved.
//
// Redistribution and use in source and binary f... |
src/Amazon.Extensions.Configuration.AppConfig/AWSAppConfigSource.cs | bibhuti-1985/aws-appconfig-dotnet-configuration-extension | 0 | 7058459 | <reponame>bibhuti-1985/aws-appconfig-dotnet-configuration-extension
using Amazon;
using Amazon.AppConfig;
using Amazon.AppConfig.Model;
using Microsoft.Extensions.Configuration;
namespace Amazon.Extensions.Configuration.AppConfig
{
public class AWSAppConfigSource : IConfigurationSource
{
priv... |
archive/codeplex/JavApi Commons collections (Apache Port)/org.apache.commons.collections.MultiMap.cs | bastie/NetVampire | 1 | 7058460 | <filename>archive/codeplex/JavApi Commons collections (Apache Port)/org.apache.commons.collections.MultiMap.cs
/*
* 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://w... |
src/Mimoto/Quickstart/Common/ConsentViewModelFactory.cs | Opiskull/mimoto | 0 | 7058461 | <reponame>Opiskull/mimoto
using System.Linq;
using IdentityServer4;
using IdentityServer4.Models;
using Mimoto.Quickstart.Consent;
namespace Mimoto.Quickstart.Common
{
public static class ConsentViewModelFactory
{
private static ScopeViewModel CreateScopeViewModel(Scope scope, bool check)
{
... |
SolutionItems/SharedAssemblyInfo.cs | difi/sikker-digital-post-felles-dotnet | 2 | 7058462 | using System.Reflection;
[assembly: AssemblyCompany("Direktoratet for forvaltning og IKT (Difi)")]
[assembly: AssemblyTrademark("Direktoratet for forvaltning og IKT (Difi)")]
[assembly: AssemblyProduct("Difi Felles Utility")]
[assembly: AssemblyDescription("Bibliotek brukt av Difi i klientbiblioteker")]
[assembly: Ass... |
scr/Parser/Base/IParser.cs | SilverWolf2k20/SWtaskM | 1 | 7058463 | <filename>scr/Parser/Base/IParser.cs
//-----------------------------------------------------------------------------
// <copyright file="IParser.cs" company="SW Okolo IT">
// Copyright (c) SW Okolo IT. All rights reserved.
// </copyright>
// <summary>
// Интерфейс парсера.
// </summary>
//--------------------------... |
src/Viewer/UIUtils/ToStringFormat.cs | amarsa-msft/svcperf | 2 | 7058464 | namespace EtlViewer.Viewer.UIUtils
{
using System;
using System.Windows.Data;
[ValueConversion(typeof(object), typeof(string))]
class ToStringFormatConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureI... |
Client/Project-Titan-Client/Assets/Scripts/UI/Interaction/InteractPanel.cs | steele123/Trials-Of-Titan | 0 | 7058465 | using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class InteractPanel : MonoBehaviour
{
private const float Button_Size = 0.4833333f;
public TextMeshProUGUI title;
public RectTransform button0;
public TextMeshProUGUI button0Title;
public RectTran... |
Packaging/WiX/p4exp-installer/Bundle/WixWPFWizardBA/Views/Pages/UpgradePage/UpgradePageView.xaml.cs | perforce/p4exp | 4 | 7058466 | //
// Copyright (c) <NAME> and <NAME>. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the solution root for full license information.
//
namespace WixWPFWizardBA.Views.Pages.UpgradePage
{
using System.Windows.Controls;
/// <summary>
/// Interaction logic for UpgradeP... |
src/NatCruise.Cruise.Test/Data/PlotDataservice_Test.cs | FMSC-Measurements/NatCruise | 0 | 7058467 | <reponame>FMSC-Measurements/NatCruise
using FluentAssertions;
using NatCruise.Cruise.Data;
using NatCruise.Test;
using System;
using System.Linq;
using Xunit;
namespace NatCruise.Cruise.Test.Data
{
public class PlotDataservice_Test
{
[Fact]
public void AddNewPlot()
{
var in... |
PingView_WF_App/PingViewForm.cs | jiejasonliu/PingView-CS | 0 | 7058468 | using System;
using System.Windows.Forms;
namespace PingView_WF_App {
public partial class PingViewForm : Form {
private const int MAX_TTL_QUERIES = 10;
public PingViewForm() {
InitializeComponent();
Pinger.Init();
}
private void PingButton_Click(object s... |
samples/OSky.UI.Core/Data/DemoDbContextInitializer.cs | liumeifu/OSky | 0 | 7058469 | <gh_stars>0
// -----------------------------------------------------------------------
// <copyright file="DemoDbContextInitializer.cs" company="">
// Copyright (c) 2014-2015 OSky. All rights reserved.
// </copyright>
// <last-editor>Lmf</last-editor>
// <last-date>2015-06-29 9:56</last-date>
// -------------... |
APIChrysallis/Models/provincies.cs | shuansanchez/APIChrysallis | 1 | 7058470 | <reponame>shuansanchez/APIChrysallis
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be ov... |
commercetools.Sdk/IntegrationTests/commercetools.Sdk.IntegrationTests/Customers/CustomersFixture.cs | onepiecefreak3/commercetools-dotnet-core-sdk | 0 | 7058471 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using commercetools.Sdk.Client;
using commercetools.Sdk.Domain;
using commercetools.Sdk.Domain.Customers;
using commercetools.Sdk.HttpApi.Domain.Exceptions;
using static commercetools.Sdk.IntegrationTests.GenericFixture;
namespace commerceto... |
FunctionsView/ViewModel/ChartStyle.cs | HydrologicEngineeringCenter/HEC-FDA | 2 | 7058472 | <filename>FunctionsView/ViewModel/ChartStyle.cs
using HEC.Plotting.SciChart2D.DataModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FunctionsView.ViewModel
{
internal class ChartStyle
{
public SymbolType SymbolType { ge... |
ApiSample/Controllers/HomeController.cs | cliffordru/ApiSample | 0 | 7058473 | using ApiSample.Helpers;
using System.Web.Mvc;
namespace ApiSample.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return RedirectToRoute(ConfigurationData.RouteHelp);
}
}
}
|
Programming/4.HighQualityCode/8.HighQualityClasses/3.InheritanceAndPolymorphism/OffsiteCourse.cs | trinityimma/TelerikAcademy | 0 | 7058474 | <gh_stars>0
using System;
using System.Collections.Generic;
namespace InheritanceAndPolymorphism
{
class OffsiteCourse : Course
{
public string Town { get; set; }
public OffsiteCourse(string name, string teacher = "", IList<string> students = null)
: base(name, teacher, students)
... |
System.Web/Util/altserialization.cs | cnork/referencesource | 911 | 7058475 | //------------------------------------------------------------------------------
// <copyright file="altserialization.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------... |
Assets/_Game/Scripts/StateMachine Folder/Player States/States/IdleState.cs | MohamedAmin1996/Paper-Toad-Mobile-Game | 0 | 7058476 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
public class IdleState : PlayerStateBase
{
public const string ID = "IDLE";
public override string Initialize(StateMachine stateMachine)
{
base.Initialize(stateMachine);
return ID;... |
src/Controls/src/Core/HandlerImpl/Entry.Impl.cs | andreas-nesheim/maui | 16,061 | 7058477 | namespace Microsoft.Maui.Controls
{
public partial class Entry : IEntry
{
Font ITextStyle.Font => (Font)GetValue(FontElement.FontProperty);
void IEntry.Completed()
{
(this as IEntryController).SendCompleted();
}
}
} |
ThemeConverter/ThemeConverter/ColorCompiler/ColorManager.cs | Unthrottled/theme-converter-for-vs | 185 | 7058478 | <reponame>Unthrottled/theme-converter-for-vs
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace ThemeConverter.ColorCompiler
{
internal class ColorManager
{
private static readonly ... |
Source/Rainbeau's Rational Romance/JoyGiver_Date.cs | emipa606/RationalRomance2 | 0 | 7058479 | <gh_stars>0
using System.Collections.Generic;
using RimWorld;
using Verse;
using Verse.AI;
namespace RationalRomance_Code;
public class JoyGiver_Date : JoyGiver
{
public static float percentRate = Controller.Settings.dateRate / 4;
private readonly Dictionary<Pawn, long> dateCooldown = new Dictionary<Pawn, lo... |
source/ACT.UltraScouter/ACT.UltraScouter.Core/Models/EnemyHPListModel.cs | wbonbon/ACT.Hojoring | 314 | 7058481 | <reponame>wbonbon/ACT.Hojoring
using System;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Windows.Data;
using ACT.UltraScouter.Config;
using FFXIV.Framework.Common;
using FFXIV.Framework.XIVHelper;
using Sharlayan.Core.Enums;
namespace ACT.UltraScouter.Models
{
... |
Gai.Unity/Assets/CreativeSpore/RpgMapEditor/Samples/Scripts/DemoGUI.cs | ColacX/Gai | 0 | 7058482 | <filename>Gai.Unity/Assets/CreativeSpore/RpgMapEditor/Samples/Scripts/DemoGUI.cs
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using CreativeSpore.RpgMapEditor;
#if UNITY_EDITOR
using UnityEditor;
#endif
public class DemoGUI : MonoBehaviour
{
public string[] Scenes;
private ... |
AgileMapper/Configuration/Lambdas/ValueInjectionContext.cs | WeiiWang/AgileMapper | 440 | 7058483 | <filename>AgileMapper/Configuration/Lambdas/ValueInjectionContext.cs
namespace AgileObjects.AgileMapper.Configuration.Lambdas
{
using System;
using System.Collections.Generic;
#if NET35
using Microsoft.Scripting.Ast;
#else
using System.Linq.Expressions;
#endif
using Extensions.Internal;
using Me... |
VS/CSHARP/hli-cli-unittest/Test_mm_mi_epu8.cs | HJLebbink/high-level-intrinsics-lib | 0 | 7058484 | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
namespace hli_lib_cli_unittest
{
[TestClass]
public class Test_mm_mi_epu8
{
private (List<Byte> Data1, int NBits1, List<Byte> Data2, int NBits2, int NElements, bool Has_Missing_Values) Create_Rando... |
Moviebase.Services/Title/CompositeTitleProvider.cs | GreenDragonflyStudio/Moviebase | 4 | 7058485 | using System.Collections.Generic;
using System.Threading.Tasks;
using Moviebase.Services.Entities;
namespace Moviebase.Services.Title
{
public class CompositeTitleProvider : ITitleProvider
{
private readonly List<ITitleProvider> _providers = new List<ITitleProvider>();
public CompositeTitlePr... |
TencentCloud/Vod/V20180717/Models/CreateSuperPlayerConfigRequest.cs | TencentCloud/tencentcloud-sdk-dotnet-intl-en | 1 | 7058486 | <filename>TencentCloud/Vod/V20180717/Models/CreateSuperPlayerConfigRequest.cs
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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 co... |
EnvarEditor/UACHelper.cs | MBulli/Envar-Editor | 2 | 7058487 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;
namespace EnvarEditor
{
static class UACHelper
{
[DllImport("user32.dll", SetLastError = true)]
... |
cosmosdb-gemlin-bulkloader/loader.tests/CsvFieldTest.cs | cjoakim/azure-cosmosdb-gremlin-bulkloader | 8 | 7058488 | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ------------------------------------------------------------
using System;
using Xunit;
using CosmosGemlinBulkLoader;
using CosmosGemlinBulkLoader.Csv;
namespace loader.tests
{
public... |
Convolutional.Logic.Tests/EncoderTests.cs | Peter-B-/Convolutional-Code.net | 1 | 7058489 | <filename>Convolutional.Logic.Tests/EncoderTests.cs
using Shouldly;
using Xunit;
namespace Convolutional.Logic.Tests
{
public class EncoderTests
{
private Encoder GetEncoder(bool terminateCode) => new Encoder(CodeConfig.Size3_7_5, terminateCode);
[Fact]
public void NoTermination()
... |
USFMToolsSharp.Renderers.HTML/HTMLConfig.cs | WycliffeAssociates/USFMToolsSharp.Renderers.HTML | 1 | 7058490 | using System;
using System.Collections.Generic;
using System.Text;
using USFMToolsSharp.Models.Markers;
namespace USFMToolsSharp.Renderers.HTML
{
public class HTMLConfig
{
public List<string> divClasses;
public bool separateChapters;
public bool separateVerses;
public bool bl... |
src/Geta.Optimizely.ContentTypeIcons.EnumGenerator/GithubDownloader.cs | Geta/geta-optimizely-contenttypeicons | 1 | 7058491 | using System;
using System.IO;
using System.Threading.Tasks;
using Octokit;
namespace Geta.Optimizely.ContentTypeIcons.EnumGenerator
{
public static class GithubDownloader
{
public static async Task<Stream> DownloadLatestReleaseAsync(string owner, string repo)
{
var gitHubClient = ... |
QED4Bio/QED4BIO/Bounded Async Translator/Translator.cs | swoodhouse/BioModelAnalyzer | 2 | 7058493 | <reponame>swoodhouse/BioModelAnalyzer
// Copyright (c) Microsoft Research 2016
// License: MIT. See LICENSE
#define DEBUG
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Data;
using System.Diagnostics;
using Microsoft.FSha... |
Chit Chat/Helper/Logger.cs | Sound932/Chit-Chat | 16 | 7058495 | using ChitChat.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ChitChat.Helper
{
public class Logger : ViewModelBase
{
private string _status;
public string Status
{
get => _status;
... |
src/Modules/Security/EventGenerators/Linux/Utils/ByteExtensions.cs | shashishailaj/Azure-IoT-Security-Agent-CS | 12 | 7058496 | // <copyright file="ByteExtensions.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
using System;
using System.Linq;
namespace Microsoft.Azure.Security.IoT.Agent.EventGenerators.Linux.Utils
{
/// <summary>
/// Extension methods for byte array
/// </sum... |
Ao3RentcarsApi/Ao3RentcarsApi/Controllers/VeiculosController.cs | filipefk/Ao3 | 0 | 7058497 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Ao3RentcarsApi.Models;
using Ao3RentcarsApi.Models.Dto;
using Microsoft.Data.Sqlite;
using Ao3RentcarsApi.Dao;
using Microsoft.AspNetCore.Authorization;
n... |
nhitomi-idx/nhitomi/Models/Queries/SuggestQuery.cs | Azato21/nhitomi | 2 | 7058498 | <filename>nhitomi-idx/nhitomi/Models/Queries/SuggestQuery.cs
using System.ComponentModel.DataAnnotations;
namespace nhitomi.Models.Queries
{
public class SuggestQuery
{
/// <summary>
/// String to match as the prefix of suggestions.
/// </summary>
[Required]
public strin... |
test/DnxForm/MainForm.cs | fastquant/fastquant.dll | 21 | 7058499 | <gh_stars>10-100
using System;
using System.Windows.Forms;
using SmartQuant;
using System.Threading;
using SmartQuant.Controls;
using System.Drawing;
using SmartQuant.FinChart;
using System.Drawing.Drawing2D;
using SmartQuant.Shared;
using System.ComponentModel;
//using SmartQuant.Controls.Portfolios;
namespace Demo
... |
get_youtubelive_comments_cui/Program.cs | midorigoke/get_youtubelive_comments | 7 | 7058500 | using System;
using System.Collections.Generic;
using System.Text;
using Mono.Options;
using System.Net;
using System.IO;
using System.Text.RegularExpressions;
using Codeplex.Data;
using System.Threading;
using System.Net.Sockets;
namespace get_youtubelive_comments_cui
{
class Program
{
static void Main(string[] ... |
src/Parlot/Fluent/ZeroOrMany.cs | hishamco/parlot | 0 | 7058502 | using System;
using System.Collections.Generic;
namespace Parlot.Fluent
{
public sealed class ZeroOrMany<T> : Parser<IList<T>>
{
private readonly IParser<T> _parser;
public ZeroOrMany(IParser<T> parser)
{
_parser = parser ?? throw new ArgumentNullException(nameof(parser));
... |
Avalonia.Cubism/CubismModelExtensions.cs | yatli/Avalonia.Cubism | 9 | 7058503 | <reponame>yatli/Avalonia.Cubism
using CubismFramework;
using System;
using System.Collections.Generic;
using System.Text;
namespace Avalonia.Cubism
{
public static class CubismModelExtensions
{
public static double[] PartGroupSwitch(this CubismModel model, string group, string id)
{
... |
src/Core.Veldrid/Generated/UAlbion.CodeGen.Veldrid/UAlbion.CodeGen.Veldrid.UAlbionVeldridGenerator/FullscreenQuadIntermediate_VeldridGen.cs | lucorp/ualbion | 80 | 7058504 | using Veldrid;
namespace UAlbion.Core.Veldrid
{
internal partial struct FullscreenQuadIntermediate
{
public static VertexLayoutDescription Layout { get; } = new(
new VertexElementDescription("NormCoords", VertexElementSemantic.TextureCoordinate, VertexElementFormat.Float2));
}
}
|
CustomAuthorizeFilterAspNetCore21/Authorization/CustomUnauthorizedResult.cs | ignas-sakalauskas/CustomAuthorizationNetCore20 | 23 | 7058505 | <gh_stars>10-100
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace CustomAuthorizeFilterAspNetCore21.Authorization
{
public class CustomUnauthorizedResult : JsonResult
{
public CustomUnauthorizedResult(string message)
: base(new CustomError(message))
{
... |
src/Nexus/NumericalAnalysis/Rk4OdeSolver.cs | michel-pi/nexus | 12 | 7058506 | namespace Nexus.NumericalAnalysis
{
/// <summary>
/// Solves an ODE using RK4
/// </summary>
public class Rk4OdeSolver : OdeSolver
{
public Rk4OdeSolver(int dimensions, CalculateDerivatives callback)
: base(dimensions, callback)
{
}
public override float[] Solve(float[] initial, float x, float h)
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.