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 |
|---|---|---|---|---|
src/AutoTest.Core/FileSystem/ProjectLocators/FSharpLocator.cs | uQr/AutoTest.Net | 34 | 7034978 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AutoTest.Messages;
using System.IO;
namespace AutoTest.Core.FileSystem.ProjectLocators
{
public class FSharpLocator : ILocateProjects
{
private ICrawlForProjectFiles _filesLocator;
public FSharpLocator... |
uTinyRipperCore/Parser/Classes/UnityConnectSettings/UnityAnalyticsSettings.cs | Bluscream/UtinyRipper | 2,066 | 7034979 | <reponame>Bluscream/UtinyRipper<filename>uTinyRipperCore/Parser/Classes/UnityConnectSettings/UnityAnalyticsSettings.cs<gh_stars>1000+
using uTinyRipper.Converters;
using uTinyRipper.YAML;
namespace uTinyRipper.Classes.UnityConnectSettingss
{
public struct UnityAnalyticsSettings : IAssetReadable, IYAMLExportable
{
... |
RestaurantReviewsLibrary/RestaurantReviews.Library/Models/Restaurant.cs | 1804-Apr-USFdotnet/robert-borukhov-project1 | 0 | 7034980 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RestaurantReviews.Library
{
public class Restaurant : IRestaurant
{
public string Name { get; set; }
public double AvgRating { get; set; }
... |
ImageViewer/Layout/Basic/DisplaySetNavigationTool.cs | econmed/ImageServer20 | 1 | 7034981 | <gh_stars>1-10
#region License
// Copyright (c) 2009, ClearCanvas Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the abov... |
CefSharp/IDragData.cs | addriumruss/CefSharp | 5 | 7034982 | // Copyright © 2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
using System.Collections.Generic;
using System.IO;
using CefSharp.Structs;
namespace CefSharp
{
/// <summary>
/// Used to represe... |
Launcher/encryption.cs | X-rays5/Launcher | 0 | 7034983 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace Launcher
{
class encryption
{
public static String sha256_hash(string value)
{
StringBuilder Sb = new String... |
msrpaui/Search/SearchFacet.cs | MSUSSolutionAccelerators/Intelligent-Document-Processing-Solution-Accelerator | 0 | 7034984 | <filename>msrpaui/Search/SearchFacet.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace msrpaui
{
public class SearchFacet
{
public string Key { get; set; }
public string[] Value { get; set; }
}
}
|
Assets/CreateThis/Scripts/VR/UI/File/FileSaveAs.cs | createthis/createthis_vr_ui | 59 | 7034986 | using System.IO;
using UnityEngine;
using CreateThis.VR.UI.UnityEvent;
using CreateThis.VR.UI.Button;
namespace CreateThis.VR.UI.File {
public class FileSaveAs : FileBase {
public SaveAsFileNameButton fileNameButton;
public Keyboard keyboard;
public FilePathEvent onSaveAs;
private ... |
MB.Common/GlobalConstants.cs | BigSamm/Monuments-of-Bulgaria | 3 | 7034987 | namespace MB.Common
{
public static class GlobalConstants
{
public static string[] Roles = { "Administrator", "User" };
public const string AdminRoleName = "Administrator";
public const string UserRoleName = "User";
public const string OblastsInfoViewPath = "wwwroot/json/obla... |
SoccerManagerEliteUtility/RPCs/get_best_managers.cs | RenegadeMinds/SoccerManagerEliteUtility | 1 | 7034988 | // <auto-generated />
//
// To parse this JSON data, add NuGet 'Newtonsoft.Json' then do:
//
// using SMElite;
//
// var getBestManagers = GetBestManagers.FromJson(jsonString);
namespace SMElite
{
using System;
using System.Collections.Generic;
using System.Globalization;
using Newtonsoft.Json;... |
src/WYBlog.Domain/IRepository/ITagRepository.cs | wyDuang/Blog | 4 | 7034989 | <reponame>wyDuang/Blog
using System.Collections.Generic;
using System.Threading.Tasks;
using Volo.Abp.Domain.Repositories;
using WYBlog.Entities;
namespace WYBlog.IRepository
{
public interface ITagRepository : IRepository<Tag, int>
{
Task<List<Tag>> GetPagedListAsync(int skipCount, int maxResultCount... |
src/Microsoft.Maui.Graphics/Fonts.cs | rmarinho/Microsoft.Maui.Graphics | 1 | 7034990 | using System.Threading;
namespace Microsoft.Maui.Graphics
{
public static class Fonts
{
private static IFontService _globalService;
private static ThreadLocal<IFontService> _threadLocalService;
/// <summary>
/// Registers the global service to be used.
/// </summary>
... |
library/Components/Device.cs | rami3l/CircuitSim | 1 | 7034991 | using System.Collections.Generic;
namespace library {
public class Device : Component {
public List<Node> Pins;
// ! a device can be asymmetric, there should be a way of distincting pins
public virtual double Conductance() => 0;
}
}
|
Persistence/Realm/ORM/RealmCrudOrm.cs | Yeah69/BFF | 5 | 7034992 | <reponame>Yeah69/BFF
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BFF.Persistence.Realm.Models.Persistence;
using BFF.Persistence.Realm.ORM.Interfaces;
using Realms;
namespace BFF.Persistence.Realm.ORM
{
internal class RealmCrudOrm<T> : ICrudOrm<T>
... |
src/MicroElements.FileStorage/Experimental/DataStoreBuilder.cs | micro-elements/MicroElements.FileStorage | 4 | 7034993 | // Copyright (c) MicroElements. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using MicroElements.FileStorage.Abstractions;
namespace MicroElements.FileStorage.Experimental
{
//todo: ServiceCollection build and inject
public class D... |
src/Assets/Plugins/UIWidgets/Standart Assets/RangeSlider/RangeSliderVertical.cs | yy1985710/ecsrx | 11 | 7034994 | using UnityEngine;
namespace UIWidgets
{
/// <summary>
/// Vertical range slider.
/// </summary>
[AddComponentMenu("UI/UIWidgets/RangeSliderVertical")]
public class RangeSliderVertical : RangeSlider
{
/// <summary>
/// Determines whether this instance is horizontal.
/// </summary>
/// <returns><c>true</... |
test/Certes.Tests/Acme/EntityContextTests.cs | webprofusion-chrisc/certes | 428 | 7034995 | using System;
using System.Threading.Tasks;
using Certes.Acme.Resource;
using Certes.Jws;
using Moq;
using Xunit;
namespace Certes.Acme
{
public class EntityContextTests
{
[Fact]
public async Task CanLoadResource()
{
var location = new Uri("http://acme.d/acct/1");
... |
eventbus/mastransit/PubSubDemo/PubSubDemo.DataProcessor/Worker.cs | beyondnetPeru/BeyondNet.MyNetSamples | 0 | 7034996 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using MassTransit;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using PubSubDemo.DataProcessor.Business.Service;
using PubSu... |
test/Tester/GrainLevelCallFilterTests.cs | wangjia184/orleans | 0 | 7034997 | <filename>test/Tester/GrainLevelCallFilterTests.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Orleans;
using Orleans.Runtime;
using Orleans.Streams;
using Orle... |
Zelig/Zelig/RunTime/Zelig/Common/Exceptions/TypeConsistencyErrorException.cs | NETMF/llilum | 188 | 7034998 | <reponame>NETMF/llilum<filename>Zelig/Zelig/RunTime/Zelig/Common/Exceptions/TypeConsistencyErrorException.cs<gh_stars>100-1000
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
namespace Microsoft.Zelig
{
using System;
public class TypeConsistencyErrorException : Exception
{
... |
EztransServer.Terminal/Utility/FileManager.cs | nanikit/eztrans-server | 7 | 7034999 | using System.IO;
using System.Text;
namespace EztransServer.Terminal.Utility {
/// <summary>
/// Provides functions related to file I/O.
/// </summary>
public static class FileManager {
/// <summary>
/// Writes a text file in the specified path.
/// </summary>
/// <param name="filePa... |
src/OpenTl.Schema/_generated/Stickers/RequestChangeStickerPosition.cs | zzz8415/OpenTl.Schema | 0 | 7035000 | <gh_stars>0
// ReSharper disable All
namespace OpenTl.Schema.Stickers
{
using System;
using System.Collections;
using System.Text;
using OpenTl.Schema;
using OpenTl.Schema.Serialization.Attributes;
[Serialize(0xffb6d4ca)]
public sealed class RequestChangeStickerPosition : IRequest<OpenTl.Schema.Messages.... |
test/EntityFramework/FunctionalTests.Transitional/TestModels/StoreModel/SpecialOfferProduct.cs | sharwell/ef6tools | 9 | 7035001 | <reponame>sharwell/ef6tools<filename>test/EntityFramework/FunctionalTests.Transitional/TestModels/StoreModel/SpecialOfferProduct.cs<gh_stars>1-10
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
namespace FunctionalTests.Mo... |
Terminal.Gui/Core/Clipboard/ClipboardBase.cs | Lombiq/gui.cs | 6,387 | 7035002 | <filename>Terminal.Gui/Core/Clipboard/ClipboardBase.cs<gh_stars>1000+
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Terminal.Gui {
/// <summary>
/// Shared abstract class to enforce rules from the implementation of the <see cref="IClipb... |
Ludum Dare 48/Assets/Scripts/Torpedo.cs | lilou-cormic/LudumDare48 | 0 | 7035003 | <reponame>lilou-cormic/LudumDare48<filename>Ludum Dare 48/Assets/Scripts/Torpedo.cs<gh_stars>0
using PurpleCable;
using UnityEngine;
public class Torpedo : PoolableMonoBehaviour
{
private void Update()
{
if (transform.position.y < -8)
SetAsAvailable();
transform.position += Vec... |
src/aspnet-core/src/Abp.VueTemplate.EntityFrameworkCore.DbMigrations/EntityFrameworkCore/VueTemplateEntityFrameworkCoreDbMigrationsModule.cs | zhk0603/abp-vue | 49 | 7035005 | <gh_stars>10-100
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.Modularity;
namespace Abp.VueTemplate.EntityFrameworkCore
{
[DependsOn(
typeof(VueTemplateEntityFrameworkCoreModule)
)]
public class VueTemplateEntityFrameworkCoreDbMigrationsModule : AbpModule
{
public... |
SimpleIdentityServer/src/Apis/Uma/SimpleIdentityServer.Uma.Common/DTOs/ConfigurationResponse.cs | appkins/SimpleIdentityServer | 71 | 7035006 | #region copyright
// Copyright 2015 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law... |
DryWetMidi.Tests/Interaction/Notes/NotesManagingUtilitiesTests.cs | andreasbalzer/drywetmidi | 0 | 7035007 | using Melanchall.DryWetMidi.Interaction;
using Melanchall.DryWetMidi.Tests.Utilities;
using NUnit.Framework;
namespace Melanchall.DryWetMidi.Tests.Interaction
{
[TestFixture]
public sealed class NotesManagingUtilitiesTests
{
#region Constants
private static readonly NoteMethods NoteMethod... |
RushBlog.StaticSiteGenerator/Program.cs | rushfrisby/RushBlog | 0 | 7035008 | using HandlebarsDotNet;
using Markdig;
using Newtonsoft.Json;
using RushBlog.StaticSiteGenerator.Models;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace RushBlog.StaticSiteGenerator
{
class Program
... |
Mustern/core-releases-v1.3/OsmSharp/Math/Primitives/PointF2D.cs | fakit/OSM-AutoCAD | 0 | 7035009 | // OsmSharp - OpenStreetMap (OSM) SDK
// Copyright (C) 2013 <NAME>
//
// This file is part of OsmSharp.
//
// OsmSharp is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 2 of the License, or
/... |
AWSSDK/Amazon.EC2/Model/DisassociateAddressRequest.cs | mahanthbeeraka/dataservices-sdk-dotnet | 0 | 7035010 | <reponame>mahanthbeeraka/dataservices-sdk-dotnet<filename>AWSSDK/Amazon.EC2/Model/DisassociateAddressRequest.cs
/*******************************************************************************
* Copyright 2008-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Licensed under the Apache License, Version 2... |
Treino.Web/Areas/StudioGhibli/Views/Pessoas/Lista.cshtml | Keyblase/Treino | 0 | 7035011 | @model IEnumerable<Treino.ViewModels.PessoaModel>
@{
ViewData["Title"] = "Pessoa";
}
<div class="position-relative overflow-hidden text-center bg-light">
<div class="col-md-12 p-lg-5 mx-auto my-5">
<h1 class="display-4 font-weight-normal"> Api Studio Ghibi - Pessoas </h1>
<p class="lead font-w... |
Assets/InputHandler/Mappings/XboxOneMapping.cs | NostalgiaX/Unity-Gamepad-Input-Handler | 5 | 7035012 | <filename>Assets/InputHandler/Mappings/XboxOneMapping.cs
using System.Collections.Generic;
public class XboxOneMapping : InputMapping
{
public override List<string> GetControllerAliasses()
{
return new List<string>() { "Controller (XBOX One For Windows)" };
}
public override void MapBindings(... |
BackEnd/Timeline/Services/Token/UserTokenVersionExpiredException.cs | crupest/Timeline | 5 | 7035013 | using System;
namespace Timeline.Services.Token
{
[Serializable]
public class UserTokenVersionExpiredException : UserTokenException
{
public UserTokenVersionExpiredException() : base(Resource.ExceptionUserTokenVersionExpired) { }
public UserTokenVersionExpiredException(string messa... |
src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/SafeShellTabBarAppearanceTracker.cs | jpobst/maui | 0 | 7035014 | using System.ComponentModel;
using ObjCRuntime;
using UIKit;
namespace Microsoft.Maui.Controls.Platform.Compatibility
{
[EditorBrowsable(EditorBrowsableState.Never)]
public class SafeShellTabBarAppearanceTracker : IShellTabBarAppearanceTracker
{
UIColor _defaultBarTint;
UIColor _defaultTint;
UIColor _defaultU... |
AspIdentityConsole/AspIdentityConsole/Program.cs | cloudstrifebro/sampleWork | 0 | 7035015 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity;
using System.Data.Entity.Infrastructure.Annotations;
using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using Mic... |
ClassroomBot/BotService/Bot.Services/Util/AppInsightsGraphLogger.cs | tiagomiotto/bots | 0 | 7035016 |
using Microsoft.Graph.Communications.Common.Telemetry;
using System;
using Microsoft.ApplicationInsights;
using Microsoft.ApplicationInsights.DataContracts;
namespace RecordingBot.Services.Util
{
public class AppInsightsGraphLogger : IObserver<LogEvent>
{
private readonly LogEventFormatter _formatter... |
src/MicroElements.Swashbuckle.FluentValidation/Core/LazyLog.cs | rayzhb/MicroElements.Swashbuckle.FluentValidation | 246 | 7035017 | // Copyright (c) MicroElements. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using Microsoft.Extensions.Logging;
namespace MicroElements.Swashbuckl... |
SkillsUSA State Competition/AaronYoung_SkillsUSA_1/UserInterface/Program.cs | AlgothAybara/C-Sharp | 0 | 7035018 | using System;
using System.Collections.Generic;
namespace UserInterface
{
/// <summary>
/// Name: <NAME>
/// Date: 03/25/2021
/// Project: Calorie Counter
/// </summary>
class Program
{
/// <summary>
/// Defines the gloabl variables used in this p... |
service/DotNetApis.Cecil/ConcreteTypeReference.cs | StephenClearyApps/DotNetApis | 24 | 7035019 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DotNetApis.Common;
using Mono.Cecil;
namespace DotNetApis.Cecil
{
/// <summary>
/// A type combined with its generic arguments, if any.
/// </summary>
public struct ConcreteTypeRef... |
DreamLover/Main.cs | ql11/Taiwu_mods | 0 | 7035020 | using Harmony12;
using System;
using System.Reflection;
using UnityEngine;
using UnityModManagerNet;
namespace DreamLover
{
public static class Main
{
public static bool enabled;
public static UnityModManager.ModEntry.ModLogger Logger;
public static Setting settings;
public static int TaiwuAge = -1;
pu... |
P2.MemoraEstatica/P2.MemoraEstatica/Program.cs | Nyoseka/Estructura-de-Datos | 0 | 7035021 | <reponame>Nyoseka/Estructura-de-Datos
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace P2.MemoraEstatica
{
public class Empleado
{
public int id;
public string nombre;
public Empleado()
{ }
pub... |
test/Sia.Gateway.Tests/Exceptions/ConvertStatusToExceptionTests.cs | Azure/Sia-Gateway | 5 | 7035022 | <reponame>Azure/Sia-Gateway<gh_stars>1-10
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Sia.Core.Exceptions;
using System;
using System.Net;
namespace Sia.Gateway.Tests.Exceptions
{
[TestClass]
public class ConvertStatusToExceptionTests
{
[TestMethod]
public void ThrowException... |
parts/0000-library/Assets/Vendor/FPCSharpUnity/Test/Extensions/FloatExtsTest.cs | FPCSharpUnity/FPCSharpUnity | 1 | 7035023 | <filename>parts/0000-library/Assets/Vendor/FPCSharpUnity/Test/Extensions/FloatExtsTest.cs
using FPCSharpUnity.core.data;
using FPCSharpUnity.unity.Functional;
using FPCSharpUnity.core.test_framework;
using NUnit.Framework;
using FPCSharpUnity.core.test_framework.spec;
namespace FPCSharpUnity.unity.Extensions {
publ... |
Notino/Features/DownloadFile/DownloadFileFromDisc.cs | gartidas/Notino | 0 | 7035024 | using MediatR;
using Notino.Contracts;
using Notino.ReaderProviders;
using System.Threading;
using System.Threading.Tasks;
namespace Notino.Features.DownloadFile
{
public class DownloadFileFromDisc
{
public class Query : IRequest<Result<Response>>
{
public string Path {... |
TankLib/STU/Types/STUSoundSwitch.cs | prophetl33t/OWLib | 226 | 7035025 | // Generated by TankLibHelper
// ReSharper disable All
namespace TankLib.STU.Types
{
[STU(0x89006ADB, 48)]
public class STUSoundSwitch : STUInstance
{
[STUField(0x032194C8, 8)] // size: 16
public teStructuredDataAssetRef<STU_11B8F80B> m_032194C8;
[STUField(0xBB01A3CC, 24)] ... |
Assets/Scripts/MouseArrow.cs | abe-yui/VectorDemo | 0 | 7035026 | <filename>Assets/Scripts/MouseArrow.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MouseArrow : MonoBehaviour
{
Arrow currentArrow;
private void Awake()
{
currentArrow = GetComponent<Arrow>();
}
void Update()
{
}
}
|
src/Bitter.Frame.Base.NetCore/Consul/ConsulOption.cs | DavidChild/Bitter.Core.Orm.NetCore | 83 | 7035027 | <reponame>DavidChild/Bitter.Core.Orm.NetCore
using System;
using System.Collections.Generic;
using System.Text;
namespace Bitter.Base.NetCore.Consul
{
public class ConsulOption
{
/// <summary>
/// 连接
/// </summary>
public string Host { get; set; }
/// <summary>
... |
alpha/C# Advanced/01. Arrays/02. Compare arrays/02. Compare arrays.cs | ekov1/TelerikAcademy-Exercises | 0 | 7035028 | <gh_stars>0
using System;
namespace _02.Compare_arrays
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
int[] arr1 = new int[n];
int[] arr2 = new int[n];
for (int i = 0; i < n; i++)
{
... |
05. Object Oriented Programming/02. Defining Classes/06. Number/EvenNumber.cs | MartsTech/IT-Career | 4 | 7035029 | using System;
namespace Number
{
class EvenNumber
{
private int num;
public int Num
{
get => num;
set
{
if (value % 2 != 0)
{
throw new Exception("Num is not even.");
}
... |
ArraysHomework/12. IndexOfLetters/IndexOfLetters.cs | VanyaD/CSharp-Part2 | 0 | 7035030 | using System;
// Problem 12. Index of letters
// • Write a program that creates an array containing all letters from the alphabet ( A-Z ).
// • Read a word from the console and print the index of each of its letters in the array.
public class Program
{
public static void Main()
{
Console.WriteLine("P... |
Assets/Prevail/Scripts/PickUp.cs | AggressiveYak/Prevail | 0 | 7035031 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PickUp : MonoBehaviour, IInteractable
{
public string slug;
public void Interact(GameObject interactor)
{
Item item = ItemDatabaseManager.Instance.GetItemFromDatabase(slug);
if (item != null)
... |
MariCommands/Services/ModuleCache.cs | alternativa-sistemas/MariCommands | 3 | 7035032 | <filename>MariCommands/Services/ModuleCache.cs<gh_stars>1-10
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading.Tasks;
using MariCommands.Utils;
using MariGlobals.Extensions;
using Microsoft.Extensions.Option... |
Westwind.AspNetCore.Markdown/MarkdownPageProcessorMiddleware/MarkdownPageProcessorMiddleware.cs | scottdorman/Westwind.AspNetCore.Markdown | 0 | 7035033 | <filename>Westwind.AspNetCore.Markdown/MarkdownPageProcessorMiddleware/MarkdownPageProcessorMiddleware.cs
#region License
/*
**************************************************************
* Author: <NAME>
* © West Wind Technologies,
* http://www.west-wind.com/
*
* Created: 3/25/2018
*
* P... |
Models/Orcamento.cs | BrunoLopes/Xperiments.DesignPatterns.Strategy | 0 | 7035034 | <filename>Models/Orcamento.cs<gh_stars>0
namespace Xperiments.DesignPatterns.Strategy.Models
{
public class Orcamento
{
public double Valor { get; set; }
public Orcamento(double valor)
{
this.Valor = valor;
}
}
}
|
Sproto/Nmea/Messages/TxtMessage.cs | BobbyCannon/Sproto | 1 | 7035035 | <filename>Sproto/Nmea/Messages/TxtMessage.cs
namespace Sproto.Nmea.Messages
{
public class TxtMessage : NmeaMessage
{
#region Constructors
public TxtMessage() : base(NmeaMessageType.TXT)
{
}
#endregion
#region Properties
public int SentenceNumber { get; set; }
public string Text { get; set; }
... |
Infrastructure/Migrations/20201224135816_Initial.cs | ritchie200/ecommerce-angular-core | 0 | 7035036 | <filename>Infrastructure/Migrations/20201224135816_Initial.cs
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Infrastructure.Migrations
{
public partial class Initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuil... |
Windows/IWiFiAvailableNetwork.cs | stevedesmond-ca/WiFiHeatMap | 0 | 7035037 | namespace WiFiSurveyor.Windows;
public interface IWiFiAvailableNetwork
{
string Bssid { get; }
string Ssid { get; }
int ChannelCenterFrequencyInKilohertz { get; }
double NetworkRssiInDecibelMilliwatts { get; }
} |
Code/UnityContrib.UnityEngine/Vector3Ex.cs | UnityContrib/framework | 10 | 7035038 | <reponame>UnityContrib/framework
using UnityEngine;
namespace UnityContrib.UnityEngine
{
/// <summary>
/// Provides a set of helper methods for working with the <see cref="T:UnityEngine.Vector3"/> struct.
/// </summary>
public static class Vector3Ex
{
/// <summary>
/// Returns a ra... |
src/OneDrive.Sdk.Authentication.Desktop/Web/FormsWebAuthenticationUi.cs | Mogikan/onedrive-sdk-dotnet-msa-auth-adapter | 24 | 7035039 | <reponame>Mogikan/onedrive-sdk-dotnet-msa-auth-adapter<gh_stars>10-100
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ---------... |
src/soa/SessionAPI/Interface/TaskInfo.cs | dubrie/Telepathy | 1 | 7035040 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
namespace Microsoft.Telepathy.Session.Interface
{
using System;
using System.Runtime.Serialization;
using Microsoft.Telepathy.Session.Data;
/// <summary>
/// <para />
/// </summary>
[Serializable]
[DataContra... |
CoinFlip/Coin.cs | sammy-timalsina/CoinFlip | 0 | 7035041 | <filename>CoinFlip/Coin.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoinFlippingGame
{
public class Coin
{
private string coinOption = "";
public string[] coinValue = new string[] { "Heads", "Tails" };
... |
src/Models/Graph/ResourceData.cs | frankkilcommins/AzureAD-SwaggerHub-UserManagement | 0 | 7035042 | <gh_stars>0
using System.Collections.ObjectModel;
using System.Text.Json.Serialization;
namespace SwaggerHubDemo.Models.Graph
{
public class ResourceData
{
// The ID of the resource.
[JsonPropertyName("id")]
public string Id { get; set; }
// The OData etag property.
[JsonPropertyName("@odata.e... |
src/PhoneNumbers/Parsers/PhoneNumberParser.cs | TrevorPilley/phone-numbers | 0 | 7035043 | <gh_stars>0
namespace PhoneNumbers.Parsers;
/// <summary>
/// The base class for a class which parses a string containing a phone number into a <see cref="PhoneNumber"/> instance.
/// </summary>
internal abstract class PhoneNumberParser
{
/// <summary>
/// Initialises a new instance of the <see cref="PhoneNumb... |
Source/Scripting/bsfSharp/Resources/Importer.cs | ValtoFrameworks/bsf | 2 | 7035044 | using System;
using System.Collections.Generic;
#if !IS_B3D
namespace bs
{
partial class Importer
{
/// <summary>
/// Imports a resource at the specified location, and returns the loaded data. If file contains more than one resource
/// only the primary resource is imported (for examp... |
PlcDigitalTwinAutoTest/LibPlcTestautomat/TestAutomat.cs | AutomatisierungsLabor/PlcDigitalTwinAutoTest | 0 | 7035045 | <filename>PlcDigitalTwinAutoTest/LibPlcTestautomat/TestAutomat.cs<gh_stars>0
using Contracts;
using LibDatenstruktur;
using SoftCircuits.Silk;
using System.Diagnostics;
namespace LibPlcTestautomat;
public partial class TestAutomat
{
private readonly Datenstruktur _datenstruktur;
private readonly Stopwatch _s... |
Snippets/SqlServer/SqlServer_All/Operations/ErrorQueue/ErrorQueue.cs | A-Franklin/docs.particular.net | 0 | 7035046 | <gh_stars>0
using System;
using System.Data;
using System.Data.SqlClient;
using System.Threading.Tasks;
using System.Transactions;
namespace SqlServer_All.Operations.ErrorQueue
{
public static class ErrorQueue
{
static async Task Usage()
{
#region sqlserver-return-to-... |
Super Nova Dragon (3d)/Assets/SND/SND_Scripts/_Movement/player_movement.cs | SilverMew22/Super_Nova_Dragon | 0 | 7035047 | <reponame>SilverMew22/Super_Nova_Dragon<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class player_movement : MonoBehaviour {
public float mSpeed;
// Use this for initialization
void Start () {
mSpeed = 7f;
}
// U... |
src/TTY.GMP.Entity/Common/ResponseBaseExtend.cs | chenjian8541/gmp | 5 | 7035048 | using System;
using System.Collections.Generic;
using System.Text;
namespace TTY.GMP.Entity.Common
{
/// <summary>
/// ResponseBase扩展
/// </summary>
public static class ResponseBaseExtend
{
/// <summary>
/// 是否成功
/// </summary>
/// <typeparam name="T"></typeparam>
... |
test/GraphQLCore.Tests/Validation/Rules/VariablesAreInputTypesTests.cs | mkmarek/graphql-ast-dotnetcore | 111 | 7035049 | <gh_stars>100-1000
namespace GraphQLCore.Tests.Validation.Rules
{
using GraphQLCore.Exceptions;
using GraphQLCore.Validation.Rules;
using NUnit.Framework;
using System.Linq;
[TestFixture]
public class VariablesAreInputTypesTests : ValidationTestBase
{
[Test]
public void Inp... |
ArraySlice.Fody/CecilExtensions.cs | Codealike/arrayslice | 28 | 7035050 | using Mono.Cecil;
using Mono.Cecil.Rocks;
using Mono.Cecil.Cil;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Corvalius.ArraySlice.Fody
{
public static class CecilExtensions
{
public static bool IsCall(this OpCode opCode)
{
retu... |
Refit.Insane.PowerPack/_ThirdParties/Fusillade/NetCache.cs | roubachof/Refit.Insane.PowerPack | 175 | 7035051 | <reponame>roubachof/Refit.Insane.PowerPack
// Copyright (c) 2021 .NET Foundation and Contributors. All rights reserved.
// 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 full license in... |
src/Uno.UI/Microsoft/UI/Input/InputLightDismissAction.cs | olirobert/uno | 5,973 | 7035052 | <gh_stars>1000+
#if HAS_UNO_WINUI
using Uno;
namespace Microsoft.UI.Input
{
public sealed class InputLightDismissAction : InputObject
{
#pragma warning disable 67
public event Windows.Foundation.TypedEventHandler<InputLightDismissAction, InputLightDismissEventArgs> Dismissed;
#pragma warning restore 67
privat... |
test/Threax.ModelGen.Tests/TestFiles/RelationshipTestOneToOneRight/Tests/Right/RightTests.cs | thereclusive/Threax.AspNetCore.Hypermedia | 2 | 7035053 | <gh_stars>1-10
using AutoMapper;
using Test.Database;
using Test.InputModels;
using Test.Repository;
using Test.ViewModels;
using Test.Mappers;
using System;
using Threax.AspNetCore.Tests;
using Xunit;
using System.Collections.Generic;
namespace Test.Tests
{
public static partial class RightTests
{
pri... |
src/Esfa.Vacancy.UnitTests/SearchApprenticeship/Application/GivenASearchApprenticeshipVacanciesRequestValidator/WhenValidatingDistanceInMiles.cs | uk-gov-mirror/SkillsFundingAgency.das-vacancyservices-api | 2 | 7035054 | <reponame>uk-gov-mirror/SkillsFundingAgency.das-vacancyservices-api
using System;
using System.Collections.Generic;
using Esfa.Vacancy.Application.Queries.SearchApprenticeshipVacancies;
using Esfa.Vacancy.Domain.Validation;
using FluentAssertions;
using FluentValidation.Results;
using NUnit.Framework;
namespace Esfa.... |
out/aaa_read.cs | Melyodas/metalang | 22 | 7035055 | using System;
public class aaa_read
{
static bool eof;
static String buffer;
static char readChar_(){
if (buffer == null || buffer.Length == 0){
String tmp = Console.ReadLine();
eof = tmp == null;
buffer = tmp + "\n";
}
char c = buffer[0];
return c;
}
static void consommeChar(){
readChar_();... |
FmodAudioSourceGenerator/PrimarySourceGenerator.cs | punker76/FmodAudio | 30 | 7035056 | <filename>FmodAudioSourceGenerator/PrimarySourceGenerator.cs
using System;
using Microsoft.CodeAnalysis;
namespace FmodAudioSourceGenerator
{
[Generator]
public class PrimarySourceGenerator : ISourceGenerator
{
internal static readonly DiagnosticDescriptor FASG02 = new DiagnosticDescriptor(nameof(... |
Data/Evne/IEvneSkillDbAccess.cs | fitzychan/GoNorth | 1 | 7035057 | using System.Collections.Generic;
using System.Threading.Tasks;
using GoNorth.Data.FlexFieldDatabase;
namespace GoNorth.Data.Evne
{
/// <summary>
/// Interface for Database Access for Evne Skills
/// </summary>
public interface IEvneSkillDbAccess : IFlexFieldObjectDbAccess<EvneSkill>
{
... |
ProcessTool/ProcessTool/ProcessTool.cs | dcluomax/ProcessTool | 0 | 7035058 | <reponame>dcluomax/ProcessTool
using System;
using System.Diagnostics;
using ProcessTool.ProcessMethods;
namespace ProcessTool
{
public class ProcessTool
{
[Flags]
public enum ProcessStartWindowType
{
Minimized,
Maximized,
Normal,
Hidden
... |
src/MAVN.Service.NotificationSystemAudit.DomainServices/Subscribers/RabbitSubscriber.cs | IliyanIlievPH/MAVN.Service.NotificationSystemAudit | 0 | 7035059 | using System;
using System.Threading.Tasks;
using Common.Log;
using Lykke.Common.Log;
using Lykke.RabbitMqBroker;
using Lykke.RabbitMqBroker.Subscriber;
using MAVN.Service.NotificationSystemAudit.Domain.Subscribers;
namespace MAVN.Service.NotificationSystemAudit.DomainServices.Subscribers
{
public abstract class R... |
VenomRAT_HVNC/Server/Forms/FormProcessManager.cs | am-523/Venom5-HVNC-Rat | 1 | 7035060 | <reponame>am-523/Venom5-HVNC-Rat
using System;
using System.ComponentModel;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using Guna.UI2.WinForms;
using Server;
using Server.MessagePack;
using VenomRAT_HVNC.Server.Connection;
namespace VenomRAT_HVNC.Server.Forms
{
public class ... |
LaDanseRestTransport/Dto/RequestParam.cs | GuildLaDanse/discord-bot | 0 | 7035061 | using Newtonsoft.Json;
namespace LaDanseRestTransport.Dto
{
public class RequestParam
{
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("value")]
public string Value { get; set; }
}
}
|
src/ExtendedXmlSerializer/ExtensionModel/Markup/MarkupExtensionPartsEvaluator.cs | ExtendedXmlSerializer/NextRelease | 0 | 7035062 | using ExtendedXmlSerializer.ContentModel.Conversion;
using ExtendedXmlSerializer.ContentModel.Identification;
using ExtendedXmlSerializer.ContentModel.Members;
using ExtendedXmlSerializer.ContentModel.Properties;
using ExtendedXmlSerializer.Core;
using ExtendedXmlSerializer.Core.Parsing;
using ExtendedXmlSerializ... |
ParaTroop.Web/Services/TroopConnectionStatus.cs | sflanker/ParaTroop | 0 | 7035063 | <gh_stars>0
namespace ParaTroop.Web.Services {
public enum TroopConnectionStatus {
Success = 0,
HostNotFound = 1,
InvalidData = 2,
ConnectionTimeout = 3,
LoginFailed = -1,
MaxLoginsReached = -2,
NameTaken = -3,
VersionMismatch = -4,
ConnectionR... |
src/ExpertSystem/Views/MathExperience.axaml.cs | emptycoder/KnowledgeBaseLab | 0 | 7035064 | using System.Collections.Generic;
using System.ComponentModel;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using KnowledgeBaseLib.Entities.Models;
namespace ExpertSystem.Views
{
public class MathExperience : UserControl, INotifyPropertyChanged
{
private static readonly PropertyChangedEventArg... |
src/Devices/Base/BaseDevice.cs | brentstineman/Transit-IOTHub-Demo | 1 | 7035065 | <filename>src/Devices/Base/BaseDevice.cs
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Transportation.Demo.Shared.Interfaces;
using Transportation.Demo.Device... |
StringsTextProcessing-Exercises/08. Letters Change Numbers/Program.cs | vlganev/SoftUni_ProgrammingFundamentals-CSharp | 0 | 7035066 | <reponame>vlganev/SoftUni_ProgrammingFundamentals-CSharp
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LettersChangeNumbers
{
class Program
{
static void Main(string[] args)
{
string[] input = Console.R... |
Hosts/FunctionsHost/Storage/LeaseManager.cs | sebastianburckhardt/ReactiveMachine | 0 | 7035067 | <reponame>sebastianburckhardt/ReactiveMachine<filename>Hosts/FunctionsHost/Storage/LeaseManager.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using Microsoft.Extensions.Logging;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using ... |
source/Evercoin/INetworkParameters.cs | airbreather/Evercoin | 3 | 7035068 | using System;
using System.Collections.Generic;
using System.Net;
namespace Evercoin
{
/// <summary>
/// Represents the parameters for the messages on a cryptocurrency network.
/// </summary>
public interface INetworkParameters : IEquatable<INetworkParameters>
{
/// <summary>
/// Ge... |
tests/DXP.SmartConnect.Ecom.IntegrationTests/Api/ProductControllerTest.cs | dotranrelationshop/DXP-SmartConnect-Ecom | 0 | 7035069 | <gh_stars>0
using DXP.SmartConnect.Ecom.Core.DTOs;
using Newtonsoft.Json;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Xunit;
namespace DXP.SmartConnect.Ecom.FunctionalTests.Api
{
public class ProductControllerTest : IClassFixture<CustomWebApplicationFactory>
{
private ... |
Web/Infrastructure/ClaimsGroupAttribute.cs | duyxaoke/Solution | 0 | 7035070 | <reponame>duyxaoke/Solution<gh_stars>0
using System;
using System.ComponentModel.DataAnnotations;
namespace Web.Infrastructure
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public class ClaimsGroupAttribute : Attribute
{
public ClaimResources Resource { get; private set; }
... |
src/Functional/Identity/IdentityServerSample/Services/AccountOptions.cs | mihko/AspNetCoreSample | 170 | 7035071 | using System;
namespace IdentityServerSample.Services
{
public class AccountOptions
{
public static bool AllowLocalLogin = true;
public static bool AllowRememberLogin = true;
public static TimeSpan RememberMeLoginDuration = TimeSpan.FromDays(30);
public static bool ShowLogoutP... |
Samples/ProcessChain/Webbroker/Module/UserValidator.cs | fpommerening/Spartakiade2016 | 3 | 7035072 | <filename>Samples/ProcessChain/Webbroker/Module/UserValidator.cs
using Nancy.Authentication.Basic;
using Nancy.Security;
namespace FP.Spartakiade2016.ProcessChain.Webbroker.Module
{
public class UserValidator : IUserValidator
{
private readonly ProcessRepository _processRepository;
public User... |
Source/Libs/AM.Asn1/Source/AsnTokenList.cs | amironov73/ManagedIrbis5 | 0 | 7035073 | <gh_stars>0
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
// ReSharper disable CheckNamespace
// ReSharper disable ClassNeverInstantiated.Global
// ReSharper disable CommentTypo
// ReSharper disable Ident... |
Migrations/20200520000320_InitialCreate.Designer.cs | Sadik-Dev/AssisterApi | 0 | 7035075 | <reponame>Sadik-Dev/AssisterApi
// <auto-generated />
using System;
using AssisterApi.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.... |
Startup.cs | anuraj/CookieAuthMVCSample | 9 | 7035076 | <filename>Startup.cs
using Microsoft.AspNet.Builder;
using Microsoft.Extensions.DependencyInjection;
namespace HelloMvc
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddMvc();
}
public void Configure(IApplicationBuild... |
Src/Workspaces/Core/Portable/Options/OptionChangedEventArgs.cs | enginekit/copy_of_roslyn | 6 | 7035077 | <reponame>enginekit/copy_of_roslyn<filename>Src/Workspaces/Core/Portable/Options/OptionChangedEventArgs.cs
// Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Mi... |
src/SFA.DAS.Reservations.Web/AppStart/ProviderRelationshipsExtensions.cs | uk-gov-mirror/SkillsFundingAgency.das-reservations | 1 | 7035078 | <filename>src/SFA.DAS.Reservations.Web/AppStart/ProviderRelationshipsExtensions.cs
using System.Net.Http;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using SFA.DAS.ProviderRelationships.Api.Client;
usi... |
week-2/EfDbDemo/EfDbDemo.ConsoleApp/Program.cs | 2011-nov02-net/matthewg-code | 0 | 7035079 | using EfDbDemo.DataModels;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text.Json;
using System.Text.RegularExpressions;
namespace EfDbDemo.ConsoleApp {
class Program {
static DbContextOpt... |
Topics/Forms/WindowsForms/Programa05_01/Form1.Designer.cs | Edwinroman30/C_Sharp- | 0 | 7035080 | <reponame>Edwinroman30/C_Sharp-
namespace Programa05_01
{
partial class Form1
{
/// <summary>
/// Variable del diseñador necesaria.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpiar los recursos que se estén usa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.