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/System.ComponentModel.TypeConverter/tests/GuidConverterTests.cs | vkvenkat/corefx | 15 | 7042135 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.ComponentModel.Tests
{
public class GuidConverterTests : ConverterTestBase
{
... |
DotA2StatsParser/Model/Dotabuff/Interfaces/IHero.cs | Shamshiel/DotA2StatsParser | 3 | 7042136 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DotA2StatsParser.Model.Dotabuff.Interfaces
{
public interface IHero
{
/// <summary>
/// Gets the name of the hero.
/// </summary>
/// <value>
//... |
Samples/HoneycombRush_4_0/Sources/EX2_PolishAndMenus/HoneycombRush/HoneycombRush/Screens/LevelOverScreen.cs | SimonDarksideJ/XNAGameStudio | 422 | 7042137 | <reponame>SimonDarksideJ/XNAGameStudio
#region File Description
//-----------------------------------------------------------------------------
// BackgroundScreen.cs
//
// Microsoft XNA Community Game Platform
// Copyright (C) Microsoft Corporation. All rights reserved.
//----------------------------------------------... |
EPlast/EPlast.BLL/Services/Events/EventCategoryManager.cs | Toxa2202/plast | 0 | 7042138 | <gh_stars>0
using EPlast.BLL.DTO.Events;
using EPlast.BLL.Interfaces.Events;
using EPlast.DataAccess.Repositories;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EPlast.BLL.Services.Events
{
public class EventCategoryManager : IEventCategoryManager
{
priva... |
aspnet-core/src/DF.ACE.Web.Mvc/Views/Shared/Modals/_ModalHeader.cshtml | aman22275/ACE | 0 | 7042140 | @using DF.ACE.Web.Models.Common.Modals
@model ModalHeaderViewModel
<div class="m-portlet__head">
<div class="m-portlet__head-caption">
<div class="m-portlet__head-title">
<span class="m-portlet__head-icon m--hide">
<i class="la la-gear"></i>
... |
Sources/Imaging/Microsoft.Psi.Imaging/ImagePool.cs | pat-sweeney/psi | 332 | 7042141 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
namespace Microsoft.Psi.Imaging
{
using System.Drawing;
using System.Drawing.Imaging;
/// <summary>
/// Provides a pool of shared images.
/// </summary>
public static class ImagePool
... |
Assets/Scripts/DelaunayTriangulation/Vertex.cs | witi42/unity-delaunay-triangulation | 4 | 7042142 | <reponame>witi42/unity-delaunay-triangulation
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace DelaunayTriangulation
{
public class Vertex
{
private Vector2 m_Position;
public Vector2 position
{
get
{
... |
src/XNode/XNode/Client/ServiceCallerBuilder.cs | junjie-sun/XNode | 2 | 7042143 | <filename>src/XNode/XNode/Client/ServiceCallerBuilder.cs
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Text;
namespace XNode.Client
{
/// <summary>
... |
lib/chef/windows/ChefNodeCmdlet/ChefNodeCmdlet/PipeClient.cs | rightscale/right_link | 3 | 7042144 | /////////////////////////////////////////////////////////////////////////
// Copyright (c) 2010-2011 RightScale Inc
//
// 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, ... |
DiscordGateway/DiscordAuthorization.cs | BrytonKinney/DiscordBot | 0 | 7042145 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace DiscordGateway
{
public class DiscordAuthorization : IDiscordAuthorization
{
private string _clientId;
private string _clientSecret;
... |
FeatureFlagsCo.APIs/FeatureFlagsCo.Messaging/Services/ElasticSearchService.cs | liwei20211025/feature-flags-co | 0 | 7042146 | using System;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Net.Mime;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace FeatureFlagsCo.Messaging.Services
{
/// <summary>
/// ElasticSea... |
SolidCompany.Interop.Gus/Models/SearchResult.cs | solid-company/interop-gus | 2 | 7042147 | <filename>SolidCompany.Interop.Gus/Models/SearchResult.cs<gh_stars>1-10
using System.Collections.Generic;
namespace SolidCompany.Interop.Gus.Models
{
/// <summary>
/// Represents a search result.
/// </summary>
public class SearchResult
{
/// <summary>
/// Returns returned error. T... |
src/NationBuilderConnect.Client/Model/ApiResponse.cs | proximitymobile/NationBuilderConnect | 0 | 7042148 | <reponame>proximitymobile/NationBuilderConnect<filename>src/NationBuilderConnect.Client/Model/ApiResponse.cs
using System.Net;
namespace NationBuilderConnect.Client.Model
{
/// <summary>
/// A response from the API
/// </summary>
public class ApiResponse
{
/// <summary>
/// ... |
src/Engine/Validation/Configuration/PeriodicElementValidationEngine.cs | aoancea/dotnet-core-angular-template | 0 | 7042149 | using System.Collections.Generic;
namespace NetCoreAngular.Engine.Validation.Configuration
{
public class PeriodicElementValidationEngine : Contract.IPeriodicElementValidationEngine
{
private readonly Resource.Configuration.Chemistry.Contract.IPeriodicElementResource periodicElementResource;
... |
TopoGiraffe/Pages/MapPage.xaml.cs | Lourguioui/TopoGiraffe | 0 | 7042150 | <reponame>Lourguioui/TopoGiraffe
using System;
using System.IO;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Media.Imaging;
namespace TopoGiraffe
{
/// <summary>
/// Logique d'interaction pour MapPage.xaml
/// </summary>
public partial class Ma... |
AppDigitalCv/AppDigitalCv/ViewModels/ParticipacionInstitucionalExternaVM.cs | FazurP/DigitalCv | 1 | 7042151 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
namespace AppDigitalCv.ViewModels
{
public class ParticipacionInstitucionalExternaVM
{
public int id { get; set; }
public int idCatInstitucionSuperior { get; set; }... |
NamesAcadTable/BlockAttributes.cs | DarekRepos/NamesAcadTable | 0 | 7042152 | <reponame>DarekRepos/NamesAcadTable
using System;
using System.Collections.Generic;
using Autodesk.AutoCAD.ApplicationServices;
using Autodesk.AutoCAD.DatabaseServices;
namespace NamesAcadTable
{
public class BlockAttributes
{
protected BlockAttributes()
{
}
public void Cleanu... |
Assets/OrderPickingScript.cs | Brawlboxgaming/Order-Picking | 0 | 7042153 | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using Rnd = UnityEngine.Random;
using KModkit;
using System.Text.RegularExpressions;
public class OrderPickingScript : MonoBehaviour
{
public KMBombModule Module;
public KMBombInfo BombI... |
src/Skahal.Buildron.BackEnd.Domain/Messaging/UpdateMessage.cs | skahal/Buildron-Backend | 2 | 7042154 | using System;
using Skahal.Buildron.BackEnd.Domain.Messaging;
namespace Skahal.Buildron.BackEnd.Domain.Messaging
{
/// <summary>
/// Represents a update message sent to a Buildron instance.
/// </summary>
public class UpdateMessage : Message
{
#region Constructors
/// <summary>
/// Initializes a new instan... |
Base-Helicopter-Controller/Library/PackageCache/com.unity.properties@0.1.14-preview.2/Runtime/EnumProperty.cs | koszoru-kristof/Myo_EMG-GestureRecognition | 1 | 7042155 | <filename>Base-Helicopter-Controller/Library/PackageCache/com.unity.properties@0.1.14-preview.2/Runtime/EnumProperty.cs
#if NET_4_6
using System;
using System.Collections.Generic;
using UnityEngine.Assertions;
namespace Unity.Properties
{
public class EnumProperty<TContainer, TValue> : Property<TContainer, TValue... |
Controls/EditorButton.Designer.cs | benjitrosch/csharp-mario-paint | 0 | 7042156 |
namespace Pixel_Editor_Test_2.Controls
{
partial class EditorButton
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </s... |
src/Zaabee.DataContractSerializer/DataContract.Extensions.String.FromXml.cs | PicoHex/Zaabee.Serializers | 0 | 7042157 | namespace Zaabee.DataContractSerializer;
public static partial class DataContractExtensions
{
public static TValue? FromXml<TValue>(this string? xml) =>
DataContractHelper.FromXml<TValue>(xml);
public static object? FromXml(this string? xml, Type type) =>
DataContractHelper.FromXml(type, xml)... |
Assets/EsnyaSFAddons/Scripts/SFRuntimeSetup.cs | esnya/EsnyaSFAddons | 0 | 7042158 | <gh_stars>0
using System;
using UdonSharp;
using UnityEngine;
using VRC.Udon;
using InariUdon.UI;
namespace EsnyaAircraftAssets
{
[DefaultExecutionOrder(100)] // After SaccEntity/SaccAirVehicle/SAV_WindChanger
[UdonBehaviourSyncMode(BehaviourSyncMode.None)]
public class SFRuntimeSetup : UdonSharpBehaviour
... |
Web/MiniCRM.Web.ViewModels/Sales/SaleProductCreateModel.cs | tonkatawe/MiniCRM | 0 | 7042159 | namespace MiniCRM.Web.ViewModels.Sales
{
using MiniCRM.Data.Models;
using MiniCRM.Services.Mapping;
using MiniCRM.Web.ViewModels.Attributes;
public class SaleProductCreateModel : IMapFrom<Product>
{
public int Id { get; set; }
public string Name { get; set; }
public int ... |
native-net-drone-monitor/frmMain.cs | faizainur/native-net-drone-monitor | 0 | 7042160 | #region Copyright Syncfusion Inc. 2001-2018.
// Copyright Syncfusion Inc. 2001-2018. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// <EMAIL>. Any infringement will be prosecuted under
// applicable laws.
#endr... |
War/Bullet.cs | joshuamataaraya/WarSimulation | 0 | 7042161 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace War
{
public class Bullet
{
//Constructor
public Bullet(float pValue, float pGrade, float pPosX, float pPosY)
{
Grade = pGrade;
Value = ... |
BryntumScheduler/Bryntum/Entities/Event.cs | IMRaziel/bryntumSchedulerCustomization | 0 | 7042163 | <reponame>IMRaziel/bryntumSchedulerCustomization
using Bryntum.CRUD.Entities;
using Newtonsoft.Json;
using System;
using System.ComponentModel.DataAnnotations;
namespace Bryntum.Scheduler
{
[MetadataType(typeof(EventMetadata))]
public partial class Event : General
{
[JsonIgnore]
public stri... |
Assets/Scripts/APITest.cs | aws-samples/building-frog-junction-technical-guide | 3 | 7042164 | <filename>Assets/Scripts/APITest.cs
// Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
using UnityEngine;
using UnityEngine.UI;
using FrogJunction;
public class APITest : MonoBehaviour
{
public IntersceneData intersceneData;
public InputField emailInput;
public InputField password... |
sdk/dotnet/Inputs/CoreDNSRBACArgs.cs | AaronFriel/pulumi-kubernetes-coredns | 1 | 7042165 | <gh_stars>1-10
// *** WARNING: this file was generated by Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace ... |
VNetDev.WmiQueryableCore.Cim/ObjectReader.cs | epavvol/WmiQueryableCore | 7 | 7042166 | <gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using Microsoft.Management.Infrastructure;
using VNetDev.WmiQueryableCore.Attributes;
using VNetDev.WmiQueryableCore.WqlTranslator.Abstraction;
namespace ... |
src/Cosmos.Core/Cosmos/Exceptions/Try`1.Success.cs | cosmos-stack/cosmos-standard | 7 | 7042167 | namespace Cosmos.Exceptions;
/// <summary>
/// Success <br />
/// 成功的 Try 组件
/// </summary>
/// <typeparam name="T"></typeparam>
public class Success<T> : Try<T>
{
/// <summary>
/// Initializes a new instance of the <see cref="Success{T}"/> class.
/// </summary>
/// <param name="value"></param>
int... |
src/StripeTests/Infrastructure/TestData/TestOptionsWithList.cs | matthewling-stripe/stripe-dotnet | 557 | 7042168 | namespace StripeTests.Infrastructure.TestData
{
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Stripe;
public class TestOptionsWithList : BaseOptions
{
public TestOptionsWithList()
{
this.SomeList = new List<TestNestedOptions>
... |
test/Ao.Lang.Generator.Test/LangManagerExtensionsTest.cs | Cricle/Ao.Lang | 0 | 7042169 | using Ao.Lang.Generator.Editor;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.IO;
namespace Ao.Lang.Generator.Test
{
[TestClass]
public class LangManagerExtensionsTest
{
[TestMethod]
public void GivenNullCall_MustThrowException()
{
Asser... |
Configuration.Tests/Test classes/SomethingConfigurableAndStaticHavingSpecialTypes.cs | jonsequitur/Its.Configuration | 30 | 7042170 | // 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.ComponentModel.Composition;
namespace Its.Configuration.Tests
{
[Export]
public static class SomethingConfigurableAndStaticH... |
src/SFA.DAS.LevyTransferMatching.Infrastructure/Services/PledgeService/Types/GetApplicationResponse.cs | SkillsFundingAgency/das-levy-transfer-matching-web | 2 | 7042171 | using System;
using System.Collections.Generic;
using SFA.DAS.LevyTransferMatching.Domain.Types;
using SFA.DAS.LevyTransferMatching.Infrastructure.ReferenceData;
namespace SFA.DAS.LevyTransferMatching.Infrastructure.Services.PledgeService.Types
{
public class GetApplicationResponse
{
public IEnumerabl... |
src/AudioAnalysisTools/AcousticEvent.cs | MazenImadJaber/audio-analysis | 0 | 7042172 | <filename>src/AudioAnalysisTools/AcousticEvent.cs<gh_stars>0
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AcousticEvent.cs" company="QutEcoacoustics">
// All code in this file and all associated files are the copyright and pr... |
docs/csharp/programming-guide/classes-and-structs/codesnippet/CSharp/how-to-explicitly-implement-interface-members_1.cs | v-maudel/docs-1 | 1 | 7042173 | <reponame>v-maudel/docs-1<gh_stars>1-10
interface IDimensions
{
float getLength();
float getWidth();
}
class Box : IDimensions
{
float lengthInches;
float widthInches;
Box(float length, float width)
{
lengthInches = length;
widthInches = width;
}
// Explicit interface m... |
test/src/Test.Companies/Application/FindByNit/FindCompanyByNitQueryHandlerTest.cs | cantte/Rusell.Api | 6 | 7042174 | using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using Moq;
using Rusell.Companies.Application.FindByNit;
using Rusell.Companies.Domain;
using Rusell.Test.Shared.Domain;
using Xunit;
namespace Rusell.Test.Companies.Application.FindByNit;
public class FindCompanyByNitQueryHandlerTest : Com... |
RESTAPI/Storage/MinioStorageProvider.cs | zekroTJA/voidseeker | 5 | 7042175 | using Microsoft.Extensions.Configuration;
using Minio;
using System;
using System.IO;
using System.Threading.Tasks;
namespace RESTAPI.Storage
{
/// <summary>
/// Implementation of <see cref="IStorageProvider"/>
/// using MinIO client.
/// </summary>
public class MinioStorageProvider : IStorageProv... |
HowMuchItCost/HowMuchItCost.Library/Services/Extractor/DogecoinService.cs | marlonluft/HowMuchItCostProject | 0 | 7042176 | namespace HowMuchItCost.Library.Services.Extractor
{
public class DogecoinService : ExtractorBase
{
public override string CurrencyUrl => "https://br.investing.com/crypto/dogecoin/doge-brl";
public override string CurrencyXPath => @"//*[@id=""last_last""]";
}
}
|
Unity/GameOver.cs | hilaltrfllu/Gamification_in_Kinesthesis | 0 | 7042177 | <reponame>hilaltrfllu/Gamification_in_Kinesthesis
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
public class GameOver : MonoBehaviour
{
//public GameObject LR_BalanceBox;
//public GameObject FB_BalanceBox;
public float balance;
public stri... |
ExceptionNotification.Core/Exceptions/Email/EmptyRecipientsException.cs | merodriguezblanco/ExceptionNotification.Core | 7 | 7042178 | <gh_stars>1-10
using System;
namespace ExceptionNotification.Core.Exceptions.Email
{
public class EmptyRecipientsException : Exception
{
public EmptyRecipientsException(string message) : this(message, null)
{ }
public EmptyRecipientsException(string message, Exception innerException) ... |
src/Journalist.EventStore/Connection/EventStoreConnectionExtensions.cs | forki/Journalist | 15 | 7042179 | <reponame>forki/Journalist
using System.Threading.Tasks;
using Journalist.EventStore.Streams;
namespace Journalist.EventStore.Connection
{
public static class EventStoreConnectionExtensions
{
public static Task<IEventStreamConsumer> CreateStreamConsumerAsync(this IEventStoreConnection connection, strin... |
AutoClicker_V1/Form1.cs | Buddha1996/AutoClicker_V1 | 0 | 7042180 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace AutoClicker_V1
{
public partial class Form1 : Form
{
AutoClicker autoClicker =... |
Model/Node/INodeVisitor.cs | virusek20/AngelNodeCore | 0 | 7042181 | namespace AngelNode.Model.Node
{
public interface INodeVisitor
{
void VisitNodeDialogue(NodeDialogue nd);
void VisitNodeFadeMusic(NodeFadeMusic ndm);
void VisitNodeChangeBackground(NodeChangeBackground ncb);
void VisitNodeChangePose(NodeChangePose ncp);
void VisitNodeJum... |
WebOptimizationProject/Helpers/Git/IssueAndRepo.cs | devedse/WebOptimizationProject | 29 | 7042182 | <reponame>devedse/WebOptimizationProject<gh_stars>10-100
using Octokit;
namespace WebOptimizationProject.Helpers.Git
{
public class IssueAndRepo
{
public string RepoOwner { get; set; }
public string RepoName { get; set; }
public Issue Issue { get; set; }
}
}
|
Main/Source/Effort.Shared/Internal/CommandActions/QueryCommandAction.cs | JonathanMagnan/effort | 155 | 7042183 | // --------------------------------------------------------------------------------------------
// <copyright file="QueryCommandAction.cs" company="Effort Team">
// Copyright (C) Effort Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associate... |
ios12/ScanningAndDetecting3DObjects/ScanningApp/Controllers/AppDelegate.cs | susairajs/ios-samples | 863 | 7042184 | <reponame>susairajs/ios-samples
using ARKit;
using Foundation;
using UIKit;
using System;
using System.Xml.Serialization;
namespace ScanningAndDetecting3DObjects
{
[Register("AppDelegate")]
internal class AppDelegate : UIApplicationDelegate
{
internal static void FatalError(string msg)
{
Consol... |
src/Utils/ExtensionsForT.AsEnumerable.cs | DavidLievrouw/Utils | 0 | 7042185 | using System.Collections.Generic;
using System.Linq;
namespace DavidLievrouw.Utils {
public static partial class ExtensionsForT {
public static IEnumerable<T> AsEnumerable<T>(this T instance) {
return instance.IsNullOrDefault()
? Enumerable.Empty<T>()
: new[] {instance};
}
}
} |
CommonLib/Security/DESEncrypt.cs | wawa0210/TaskManager | 1 | 7042186 | using System;
using System.Security.Cryptography;
using System.Text;
namespace CommonLib.Security
{
/// <summary>
/// DES加密/解密类。
/// </summary>
public class DesEncrypt
{
#region ========加密========
/// <summary>
/// 加密数据
/// </summary>
/// <param name="te... |
Reactor.Core/publisher/PublisherSkipLast.cs | spring-operator/reactor-core-dotnet | 56 | 7042187 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Reactive.Streams;
using Reactor.Core;
using System.Threading;
using Reactor.Core.flow;
using Reactor.Core.subscriber;
using Reactor.Core.subscription;
using Reactor.Core.util;
namespace Reactor.C... |
LearnositySDK/Request/Remote.cs | scottrudy/learnosity-sdk-asp.net | 2 | 7042188 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Web;
using System.IO;
using LearnositySDK.Utils;
using System.Diagnostics;
namespace LearnositySDK.Request
{
/// <summary>
/// Used to execute a request to a public endpoint. Useful as a cross ... |
source/AcChartsViewModel/Statistics/LimitsCalculatorViewModel.cs | Khaled-Janada/AC_Charts | 0 | 7042189 | using AcCharts.Chart.ChartElements;
using AcCharts.Shared;
using Infinity.Extensions;
namespace AcCharts.Statistics;
public class LimitsCalculatorViewModel : ControlBaseViewModel {
#region Static Properties
public const string ThetaC = "\U0001d703\u1d04";
public const string ThetaL = "\U0001d703\u029f";... |
test/NuGet.Core.Tests/NuGet.DependencyResolver.Core.Tests/LocalDependencyProviderTests.cs | huangqinjin/NuGet.Client | 654 | 7042191 | <gh_stars>100-1000
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Moq;
using NuGet.Common;
... |
TimeTracker/TimeSpanFormatter.cs | mhsnzkn/TimeTracker | 0 | 7042193 | using System;
namespace TimeTracker
{
/// <summary>
/// Custom TimeSpan formatting class
/// </summary>
public static class TimeSpanFormatter
{
/// <summary>
/// Formats a TimeSpan value
/// </summary>
/// <param name="timeSpan">The timespan to be format... |
Assets/Scripts/BubbleController.cs | j-paterson/Silence | 0 | 7042194 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Prisma
{
public class BubbleController
{
Material quillPaintMat;
List<bubble> bubbles;
ComputeBuffer cBuffer;
struct bubble
{
public float x;
public float y;... |
HarmonyHelper/HarmonyHelper/VoiceLeading/VoiceLeadingAnalyzer.cs | emorrison1962/HarmonyHelper | 0 | 7042195 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Eric.Morrison.Harmony.Intervals;
namespace Eric.Morrison.Harmony
{
public class VoiceLeadingAnalyzer
{
#region Fields
#endregion
#region Properties
#endregion
#region Construction
public VoiceLeadingAnal... |
csharp-fundamentals/15.BitwiseOperators/L01.BinaryDigitCount/Program.cs | vassdeniss/software-university-courses | 7 | 7042196 | using System;
using System.Collections.Generic;
using System.Linq;
namespace L01.BinaryDigitCount
{
class Program
{
static void Main(string[] args)
{
int num = int.Parse(Console.ReadLine());
int digit = int.Parse(Console.ReadLine());
string binaryDigit = Co... |
miner/TopChain.Miner/TopChain.Miner/Models/Block.cs | eslavov11/topchain | 3 | 7042197 | namespace TopChain.Wallet.Models
{
using System.Collections.Generic;
public class Block
{
public int Index { get; set; }
public List<Transaction> Transactions { get; set; }
public int? Difficulty { get; set; }
public string PrevBlockHash { get; set; }
public string M... |
dotnet/FreieWahl/FreieWahl.Common/ExtensionMethods.cs | michivo/buergerchain | 7 | 7042198 | using System;
namespace FreieWahl.Common
{
public static class ExtensionMethods
{
public static long? ToId(this string idString)
{
return long.TryParse(idString, out var result) ? result : (long?)null;
}
public static string GetMimeType(this string image... |
src/MAVN.Service.BonusCustomerProfile.Domain/Services/ICustomerProfileService.cs | LykkeBusiness/MAVN.Service.BonusCustomerProfile | 0 | 7042199 | <filename>src/MAVN.Service.BonusCustomerProfile.Domain/Services/ICustomerProfileService.cs
using System;
using System.Threading.Tasks;
using MAVN.Service.BonusCustomerProfile.Domain.Models.CustomerProfile;
namespace MAVN.Service.BonusCustomerProfile.Domain.Services
{
public interface ICustomerProfileService
{
... |
src/Smellyriver.TankInspector.Pro.StatsShared/ComparisonIcon.cs | smellyriver/tank-inspector-pro | 22 | 7042200 | using System.Collections.Generic;
using System.Windows.Media;
using Smellyriver.TankInspector.Common.Utilities;
using Smellyriver.TankInspector.Common.Wpf.Utilities;
using Smellyriver.TankInspector.Pro.Data.Stats;
namespace Smellyriver.TankInspector.Pro.StatsShared
{
public static class ComparisonIcon
{
... |
EWork/Services/Interfaces/IUserExtractor.cs | SaveliyKolesnikov/EWork | 28 | 7042202 | <filename>EWork/Services/Interfaces/IUserExtractor.cs
using System;
using System.Linq;
using System.Threading.Tasks;
using EWork.Models;
namespace EWork.Services.Interfaces
{
public interface IUserExtractor
{
IQueryable<User> GetAll();
Task<User> FindAsync(Predicate<User> predicate);
}
}
|
DecryptCocos2dAsset/Program.cs | CRC32EX/DecryptCocos2dAsset | 8 | 7042203 | using Ionic.Zlib;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace DecryptCocos2dAsset
{
class Program
{
// original
// https://github.com/cocos2d/cocos2d-x/blob/v3/cocos/base/ZipUtils.h
// https://github.com/cocos2d/cocos2d-x/blob/v3/cocos/... |
src/Tweakster/Options/VsTweaksterOptions.cs | nbduong/Tweakster | 4 | 7042204 | <filename>src/Tweakster/Options/VsTweaksterOptions.cs
using System.Threading.Tasks;
using Tweakster.Infrastructures.Repositories;
using Tweakster.VisualStudio.Toolkit.Options;
namespace Tweakster.Options
{
internal partial class VsTweaksterOptions : OptionsBase<VsTweaksterOptions>
{
private readonly I... |
EmitDebugging/MethodDescriptor.cs | JasonBock/EmitDebugging | 13 | 7042205 | using EmitDebugging.Extensions;
using Spackle.Reflection.Extensions;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Reflection;
using System.Reflection.Emit;
using System.Text;
namespace EmitDebugging
{
internal class MethodDescriptor : Descriptor
{
protected MethodDescri... |
src/Weave.Messaging.Core/ISyncMessage.cs | adenisov/Weave | 2 | 7042206 | <reponame>adenisov/Weave
namespace Weave.Messaging.Core
{
/// <summary>
/// Defines a synchronous message abstraction.
/// </summary>
public interface ISyncMessage : IMessage
{
}
} |
src/Rabbiter.Core/Events/EventContainer.cs | goOrn/RabbiteR | 2 | 7042207 | <gh_stars>1-10
namespace Rabbiter.Core.Events
{
using Rabbiter.Core.Abstractions.Events;
using Rabbiter.Core.Abstractions.Messaging;
using System;
public class EventContainer<TEvent>
: IEventContainer<TEvent>
where TEvent : IEvent
{
public EventContainer(string id, string e... |
KDZGame/Pages/MainPage.xaml.cs | RinokuS/KDZGame | 0 | 7042208 | using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using System.IO;
using System.Xml;
namespace KDZGame
{
/// <summary>
/// Логика взаимодействия для MainPage.xaml
/// </summary>
public partial class MainPage : Page
{
readonly Window _mainW... |
PreSessionCode/EmployeeService/ConsumeEmployeeWcf/Connected Services/ServiceReference1/Reference.cs | vishipayyallore/speaker_series_csharp_dotnetcode | 3 | 7042209 | //------------------------------------------------------------------------------
// <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>
//--... |
4.Blogs/DistributedTracing/Tutorial/Lesson4/Step1/ServerWebapi/Startup.cs | hhko/Books | 1 | 7042210 | <reponame>hhko/Books
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Jaeger;
using LessonLib;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.... |
Assets/Scripts/BattleDemo/Battle/Logic/AI/BTree/BTreeFrame/BTreeNodeCtrl/BTreeNodeParallel.cs | lyback/AIBattleDemo | 91 | 7042211 | //////////////////////////////////////////////////////////////////////////////////////
// The MIT License(MIT)
// Copyright(c) 2018 lycoder
// 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 Soft... |
src/NuGet.Clients/PackageManagement.VisualStudio/ProjectSystems/BuildIntegratedProjectSystem.cs | StephenCleary/NuGet.Client | 0 | 7042212 | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.... |
_posts/coding/csharp/greyhatc/Ch3/vs/SoapType.cs | m3rcer/m3rcer.github.io | 0 | 7042213 | <filename>_posts/coding/csharp/greyhatc/Ch3/vs/SoapType.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System;
using System.Collections.Generic;
using System.Xml;
using System.Xml.XPath;
namespace WSDL_Fuzzer
{
public class S... |
src/Toe.SPIRV.CodeGenerator/Model/Grammar/SpirvOperand.cs | gleblebedev/Toe.SPIRV | 8 | 7042214 | namespace Toe.SPIRV.CodeGenerator.Model.Grammar
{
public class SpirvOperand
{
public SpirvOperandKind Kind { get; set; }
public SpirvOperandClassification Class { get; set; }
public string SpirvName { get; set; }
public string Name { get; set; }
public SpirvOperandQu... |
src/SJP.Schematic.PostgreSql.Tests/PostgreSqlCheckConstraintTests.cs | sjp/Schematic | 4 | 7042215 | using NUnit.Framework;
using SJP.Schematic.Core;
using SJP.Schematic.Tests.Utilities;
namespace SJP.Schematic.PostgreSql.Tests
{
[TestFixture]
internal static class PostgreSqlCheckConstraintTests
{
[Test]
public static void Ctor_GivenNullName_ThrowsArgumentNullException()
... |
node_modules/react-native-windows/ReactWindows/ReactNative/Bridge/NativeArgumentsParseException.cs | neelimabhukya/readypolicy-ui | 0 | 7042216 | using System;
namespace ReactNative.Bridge
{
/// <summary>
/// An exception thrown when converting between JavaScript and native arguments.
/// </summary>
public class NativeArgumentsParseException : ArgumentException
{
/// <summary>
/// Instantiates the <see cref="Native... |
Uwp/Framework/Settings/SettingsFacade.cs | ryanhorath/Rybird.Framework | 0 | 7042217 | <reponame>ryanhorath/Rybird.Framework
using Windows.Storage;
namespace Rybird.Framework
{
public class SettingsFacade : ISettingsProvider
{
public void AddOrUpdate(string key, object value)
{
ApplicationData.Current.RoamingSettings.Values[key] = value;
}
public bool TryGetValue<T>... |
src/Promitor.Core.Scraping/Configuration/Serialization/v1/Core/MetricDimensionDeserializer.cs | burningalchemist/promitor | 0 | 7042218 | <gh_stars>0
using Microsoft.Extensions.Logging;
using Promitor.Core.Scraping.Configuration.Serialization.v1.Model;
using YamlDotNet.RepresentationModel;
namespace Promitor.Core.Scraping.Configuration.Serialization.v1.Core
{
public class MetricDimensionDeserializer : Deserializer<MetricDimensionV1>
{
p... |
XLPagerTabStrip/ButtonBarPagerTabStripViewController.cs | supersume/XLPagerTabstrip | 30 | 7042219 | using CoreGraphics;
using Foundation;
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UIKit;
namespace XLPagerTabStrip
{
[Register("ButtonBarPagerTabStripViewController")]
public class ButtonBarPagerTabStripViewController : PagerTabStr... |
netframework/UnitTestProject/Common/Helpers/TestJsonHelper.cs | waikhaisheng/.netframework | 0 | 7042220 | using Common.Helpers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnitTestProject.TestModels;
namespace UnitTestProject.Common.Helpers
{
/// <summary>
/// Creater: <NAME>
/// C... |
src/DDD/AggregateRoot.cs | zcqiand/CommonMormon | 0 | 7042221 | <gh_stars>0
using System.ComponentModel.DataAnnotations.Schema;
namespace UltraNuke.CommonMormon.DDD
{
public abstract class AggregateRoot : Entity
{
#region IAggregateRoot Members
[NotMapped]
public AggregateState AggregateState { set; get; }
#endregion
}
}
|
src/Data/WeLearn.Data/Migrations/20210804132533_ChangePrivateMessage.cs | shllshckd/WeLearn | 11 | 7042222 | // <auto-generated />
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace WeLearn.Data.Migrations
{
public partial class ChangePrivateMessage : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
... |
4devAgendaParser/Formatters/ITermPointFormatter.cs | GrzesiekGdn/4devAgendaParser | 0 | 7042223 | namespace _4devAgendaParser.Formatters
{
using System.Collections.Generic;
using _4devAgendaParser.Model;
public interface ITermPointFormatter
{
string Format(IList<TermPoint> termPoints, IList<TermTime> termTimes, IList<Track> tracks);
}
} |
src/ContosoUniversity.Web/Pages/Instructors/Index.cshtml.cs | theMickster/contoso-university-razor-pages | 1 | 7042224 | <reponame>theMickster/contoso-university-razor-pages<gh_stars>1-10
using System;
using System.Collections.Generic;
using ContosoUniversity.Application.ViewModels;
using ContosoUniversity.Infrastructure.Interfaces;
using Microsoft.AspNetCore.Mvc.RazorPages;
using System.Linq;
using System.Threading.Tasks;
using AutoMap... |
src/dotnet-toolbox.api/Controllers/CategoriesController.cs | dotnet-toolbox/dotnet-toolbox | 0 | 7042225 | using System.Collections.Generic;
using System.Linq;
using dotnet_toolbox.api.Models;
using dotnet_toolbox.api.Query;
using Microsoft.AspNet.Mvc;
namespace dotnet_toolbox.api.Controllers
{
[Route("api/[controller]")]
public class CategoriesController : Controller
{
private const string NANCY = "Nan... |
CommandFactory.cs | MatricField/EncodingConvertor | 0 | 7042226 | <reponame>MatricField/EncodingConvertor
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace EncodingConvertor
{
public class CommandFactory
{
public delegate bool CanExecuteF... |
src/Curio.Infrastructure/Contexts/ClientDataContext.cs | Reapism/Curio | 3 | 7042227 | using Autofac;
using Curio.ApplicationCore.Interfaces.Logging;
using Curio.Persistence.Client;
using Curio.SharedKernel.Bases;
using Curio.SharedKernel.Interfaces;
using System;
using System.Threading.Tasks;
namespace Curio.Infrastructure.Contexts
{
public class ClientDataContext : IClientDataContext
{
... |
ProjectEuler/Problem3.cs | janverley/ProjectEuler | 0 | 7042228 | <reponame>janverley/ProjectEuler
using System;
using System.Collections.Generic;
using System.Linq;
namespace ProjectEuler
{
public static class Problem3
{
public static void DoIt()
{
Console.WriteLine("The prime factors of 13195 are 5, 7, 13 and 29.\n\nWhat is the largest prime fac... |
Microsoft.Research/Contracts/MsCorlib/System.Diagnostic.Tracing.EventSource.cs | jeroen-mostert/CodeContracts | 778 | 7042229 | <gh_stars>100-1000
// CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 restric... |
ServiceWorkerMobileApp/NG.ServiceWorker/SystemUI/LogsUI/SystemLogsPage.cs | NaturalGateways/DevExerciseServiceWorkerApp | 0 | 7042230 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace NG.ServiceWorker.SystemUI.LogsUI
{
public class SystemLogsPage : ContentPage
{
public SystemLogsPage()
{
this.Title = "Logs";
// Get the sessions
I... |
Views/course_new.cshtml | CharlesEwel/registrar | 0 | 7042231 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Add A New Course</title>
</head>
<body>
<h1>Add A New Course</h1>
<form class="form-group" action="/courses/new" method="post">
<label for="course-name">Course Name</label>
<input type="text" name="course-name" required>
... |
src/Eaf.Cli.Core/Models/ParameterInfo.cs | afonsoft/EAF | 3 | 7042232 | using Eaf.Cli.Core.Extensions;
using Microsoft.CodeAnalysis;
using System;
namespace Eaf.Cli.Core.Models
{
public class ParameterInfo : IEquatable<ParameterInfo>
{
public string Type => ParameterSymbol.Type.ToMinimalQualifiedName();
public string FullType => ParameterSymbol.Type.ToFullName();... |
Assets/PreDownload/PreDownloadProgress.cs | IQzhan/Example_Download_Upload_In_Unity | 0 | 7042233 | using E.Data;
using UnityEngine;
using UnityEngine.Events;
namespace E
{
public class PreDownloadProgress : MonoBehaviour
{
public CloneDirectoryAsyncOperation asyncOperation;
private float lastTime;
private readonly float maxDeltaTime = 0.01f;
private void Update()
... |
src/LogoFX.Client.Mvvm.Model.Specs/Objects/EditableModelWithReadOnlyField.cs | LogoFX/logofx-client-mvvm-model | 3 | 7042234 | <reponame>LogoFX/logofx-client-mvvm-model
using System;
namespace LogoFX.Client.Mvvm.Model.Specs.Objects
{
public class EditableModelWithReadOnlyField : EditableModel<Guid>
{
public EditableModelWithReadOnlyField(int status, string logRemark)
{
Status = status;
LogRemark... |
Source/Dotjosh.iRobot.Framework/Sensors/RequestedVelocity.cs | dotjosh/iRobot.NET | 2 | 7042235 | namespace Dotjosh.iRobot.Framework.Sensors
{
public class RequestedVelocity : SignedTwoByteSensor
{
public override byte PackedId
{
get { return Requested_Velocity; }
}
public int Velocity
{
get { return Value; }
}
}
} |
RepoDb.Core/RepoDb/_SqlServer/Operations/SqlConnectionShared.cs | davidskula/RepoDb | 1 | 7042236 | using System.Collections.Generic;
using System.Data;
using System.Linq;
namespace RepoDb
{
/// <summary>
/// Contains the extension methods for SqlConnection object.
/// </summary>
public static partial class SqlConnectionExtension
{
/// <summary>
/// Returns all the <see cref="Dat... |
ControleDeEstoque/BLL/BLLParcelaCompra.cs | RodrigoHironaka/Controle-de-Estoque | 0 | 7042237 | using DAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Modelo;
using System.Data;
namespace BLL
{
public class BLLParcelaCompra
{
private DALConexao conexao;
public BLLParcelaCompra(DALConexao cx)
{
... |
scripts/MovingPlatforms.cs | LucasW20/FliersEffectRepo | 0 | 7042238 | using Godot;
using System;
public class MovingPlatforms : Node2D
{
// Declare member variables here. Examples:
// private int a = 2;
// private string b = "text";
private int speed;
//private int XReset;
// private Node2D myNode;
// Called when the node enters the scene tree for the first t... |
ServiceA/Controllers/ValuesController.cs | torhovland/microservices-jwt-delegation | 14 | 7042239 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace ServiceA.Controllers
{
[Authorize]
[Route("api/[controller]")]
public class ValuesController : Controller
{
// GE... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.