commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
e97c8637a13bf911e55030681884c8301a67e1dd | update version | HouseBreaker/Shameless | Shameless/Properties/AssemblyInfo.cs | Shameless/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Shameless")]
[assembly: AssemblyDescripti... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Shameless")]
[assembly: AssemblyDescripti... | mit | C# |
4817d8aee3c78a7d65b01b67190c8cbe0110c624 | Update index.cshtml | Aleksandrovskaya/apmathclouddif | site/index.cshtml | site/index.cshtml | @{
double t_0 = 0;
double t_end = 150;
double step = 0.1;
int N = Convert.ToInt32((t_end-t_0)/step) + 1;
String data = "";
bool show_chart = false;
if (IsPost){
show_chart = true;
var number = Request["text1"];
double xd = number.AsInt();
double t = 0;
double x1 = 0;
double x2 = 0;
d... | @{
double t_0 = 0;
double t_end = 150;
double step = 0.1;
int N = Convert.ToInt32((t_end-t_0)/step) + 1;
String data = "";
bool show_chart = false;
if (IsPost){
show_chart = true;
var number = Request["text1"];
double xd = number.AsInt();
double t = 0;
double x1 = 0;
double x2 = 0;
d... | mit | C# |
762b8bbbc88cdf99c0b56dd3f983ee87397d0c79 | fix messed up chem dispenser code which regressed somehow | Necromunger/unitystation,fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,Necromunger/unitystation,Necromunger/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,Necromunger/unitystation,Necromunger/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,... | UnityProject/Assets/Prefabs/GUI/Resources/ChemistryDispenser.cs | UnityProject/Assets/Prefabs/GUI/Resources/ChemistryDispenser.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Main component for chemistry dispenser.
/// </summary>
public class ChemistryDispenser : NBHandApplyInteractable {
public ReagentContainer Container;
public ObjectBehaviour objectse;
public delegate void ChangeEvent ... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Main component for chemistry dispenser.
/// </summary>
public class ChemistryDispenser : NBHandApplyInteractable {
public ReagentContainer Container;
public ObjectBehaviour objectse;
public delegate void ChangeEvent (... | agpl-3.0 | C# |
34c871534c4503b3f584f6d578ce30771984401a | Clean up Health CHeck | BrighterCommand/Brighter,BrighterCommand/Brighter,BrighterCommand/Brighter | Paramore.Brighter.ServiceActivator.Extensions.HealthChecks/BrighterServiceActivatorHealthCheck.cs | Paramore.Brighter.ServiceActivator.Extensions.HealthChecks/BrighterServiceActivatorHealthCheck.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Diagnostics.HealthChecks;
namespace Paramore.Brighter.ServiceActivator.Extensions.HealthChecks;
public class BrighterServiceActivatorHealthCheck : IHealthCheck
{
private readonly ... | using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Diagnostics.HealthChecks;
namespace Paramore.Brighter.ServiceActivator.Extensions.HealthChecks;
public class BrighterServiceActivatorHealthCheck : IHealthCheck
{
private readonly ... | mit | C# |
d728c1beb27dfd3a31f9ad084d1c4094b27b65f9 | refactor LSL_EventTests.TestStateEntryEvent into single method to test compile | ft-/opensim-optimizations-wip-tests,ft-/arribasim-dev-tests,OpenSimian/opensimulator,ft-/arribasim-dev-tests,justinccdev/opensim,justinccdev/opensim,TomDataworks/opensim,OpenSimian/opensimulator,OpenSimian/opensimulator,M-O-S-E-S/opensim,TomDataworks/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,M-O-S-E-S/opensim,OpenSi... | OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/LSL_EventTests.cs | OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/LSL_EventTests.cs | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* 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 r... | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* 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 r... | bsd-3-clause | C# |
325c3ebc780bd48dbd3997c5acbadce15c389d6a | Add input binder to allow for comma-separated list inputs for API routes | mtcairneyleeming/latin | api/CommaDelimitedArrayModelBinder.cs | api/CommaDelimitedArrayModelBinder.cs | using System;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.ModelBinding;
namespace api
{
public class CommaDelimitedArrayModelBinder : IModelBinder
{
public Task BindModelAsync(ModelBindingContext bindingContext)
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.ModelBinding;
namespace api
{
public class CommaDelimitedArrayModelBinder : IModelBinder
{
pub... | mit | C# |
aff21c989744dd5e4fb40d9b943c8c20ce450b08 | Update Program.cs | vanjikumaran/VizhiMozhi | SrilankanTamilFingerSpelling/SrilankanTamilFingerSpelling/Program.cs | SrilankanTamilFingerSpelling/SrilankanTamilFingerSpelling/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace SrilankanTamilFingerSpelling
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace SrilankanTamilFingerSpelling
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void... | apache-2.0 | C# |
08f3c8f246b6472cf05bd6728962e56e28b41f8c | Modify WhatDoIHave to show expected result | kendaleiv/di-servicelocation-structuremap,kendaleiv/di-servicelocation-structuremap,kendaleiv/di-servicelocation-structuremap | Tests/TroubleshootingTests.cs | Tests/TroubleshootingTests.cs | using Core;
using StructureMap;
using Xunit;
namespace Tests
{
public class TroubleshootingTests
{
[Fact]
public void ShowBuildPlan()
{
var container = new Container(x =>
{
x.For<IService>().Use<Service>();
});
var buildP... | using Core;
using StructureMap;
using System.Diagnostics;
using Xunit;
namespace Tests
{
public class TroubleshootingTests
{
[Fact]
public void ShowBuildPlan()
{
var container = new Container(x =>
{
x.For<IService>().Use<Service>();
}... | mit | C# |
941966230556a90c7a01eafe12fc5204103b9d3d | Fix serialization | FireCube-/HarvesterBot | TexasHoldEm/GeneReadWriter.cs | TexasHoldEm/GeneReadWriter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
[Serializable]
public static class GeneReadWriter {
public static Gene readGene(string path) {
using (Stream stream = File.Open(path, FileMode.Open)) {
var binaryFormatter = new ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
public static class GeneReadWriter {
public static Gene readGene(string path) {
using (Stream stream = File.Open(path, FileMode.Open)) {
var binaryFormatter = new System.Runtime.... | mit | C# |
f6e2958d60f89f59d1852ed9d5c2f53841662013 | add logging | NDark/ndinfrastructure,NDark/ndinfrastructure | Unity/UnityTools/UnityFind.cs | Unity/UnityTools/UnityFind.cs | /**
MIT License
Copyright (c) 2017 NDark
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, modify, merge, publish, distr... | /**
MIT License
Copyright (c) 2017 NDark
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, modify, merge, publish, distr... | mit | C# |
de60b2cf0c469cec9d84422c251bf5adcfb4d901 | Update AverageCurrencyConversionCompositionStrategy.cs | tiksn/TIKSN-Framework | TIKSN.Core/Finance/AverageCurrencyConversionCompositionStrategy.cs | TIKSN.Core/Finance/AverageCurrencyConversionCompositionStrategy.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using TIKSN.Finance.Helpers;
namespace TIKSN.Finance
{
public class AverageCurrencyConversionCompositionStrategy : ICurrencyConversionCompositionStrategy
{
public async Task<Money> ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using TIKSN.Finance.Helpers;
namespace TIKSN.Finance
{
public class AverageCurrencyConversionCompositionStrategy : ICurrencyConversionCompositionStrategy
{
public async Task<Money> ... | mit | C# |
af5c1eed67db378e373d02f30bef58b914642949 | Update SampleDataController.cs | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/Controllers/SampleDataController.cs | src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/Controllers/SampleDataController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
#if (IndividualLocalAuth)
using Microsoft.AspNetCore.Authorization;
#endif
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace Company.WebApplication1.Controllers
{
#if (IndividualLocalAuth)
[... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
#if (IndividualLocalAuth)
using Microsoft.AspNetCore.Authorization;
#endif
using Microsoft.AspNetCore.Mvc;
namespace Company.WebApplication1.Controllers
{
#if (IndividualLocalAuth)
[Authorize]
#endif
[Route("api/[c... | apache-2.0 | C# |
0de1367903fab76cb2e1254c6701b73ba254f048 | Revert "TODO" | GoCarrot/teak-unity,GoCarrot/teak-unity,GoCarrot/teak-unity,GoCarrot/teak-unity,GoCarrot/teak-unity | Assets/Teak/Editor/TeakPostProcessScene.cs | Assets/Teak/Editor/TeakPostProcessScene.cs | #region License
/* Teak -- Copyright (C) 2016 GoCarrot Inc.
*
* 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 a... | #region License
/* Teak -- Copyright (C) 2016 GoCarrot Inc.
*
* 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 a... | apache-2.0 | C# |
5a7b4f282820e452d6601df7eb8aeaace1cc6741 | Delete useless method calls. | WestHillApps/UniGif | Assets/UniGif/Example/Script/UniGifTest.cs | Assets/UniGif/Example/Script/UniGifTest.cs | /*
UniGif
Copyright (c) 2015 WestHillApps (Hironari Nishioka)
This software is released under the MIT License.
http://opensource.org/licenses/mit-license.php
*/
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
public class UniGifTest : MonoBehaviour
{
[SerializeField]
private ... | /*
UniGif
Copyright (c) 2015 WestHillApps (Hironari Nishioka)
This software is released under the MIT License.
http://opensource.org/licenses/mit-license.php
*/
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
public class UniGifTest : MonoBehaviour
{
[SerializeField]
private ... | mit | C# |
a668685f7120a65941198c7594e0cd1b34e87171 | Update security protocol support | Vivantio/apisamples,Vivantio/apisamples | DotNet/Vivantio.Samples/JsonApi/BaseApi.cs | DotNet/Vivantio.Samples/JsonApi/BaseApi.cs | using System.Configuration;
using System.Net;
using Vivantio.Samples.JsonApi.Shared;
namespace Vivantio.Samples.JsonApi
{
public abstract class BaseApi
{
static BaseApi()
{
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
}
private readonly Api... | using System.Configuration;
using Vivantio.Samples.JsonApi.Shared;
namespace Vivantio.Samples.JsonApi
{
public abstract class BaseApi
{
private readonly ApiUtility _utility;
protected ApiUtility ApiUtility
{
get { return _utility; }
}
protected BaseApi()
{
var url = ConfigurationManager.AppSetti... | mit | C# |
73e231efb776bae85df69a2d1738963cadfaceac | Remove usings | orodriguez/FTF,orodriguez/FTF,orodriguez/FTF | FTF.IoC.SimpleInjector/ContainerFactory.cs | FTF.IoC.SimpleInjector/ContainerFactory.cs | using System.Linq;
using System.Reflection;
using FTF.Core.Attributes;
using FTF.Core.Delegates;
using FTF.Core.Entities;
using FTF.Core.Ports;
using FTF.IoC.SimpleInjector.PortsConfig;
using SimpleInjector;
namespace FTF.IoC.SimpleInjector
{
public class ContainerFactory
{
public static Container Mak... | using System.Linq;
using System.Reflection;
using FTF.Core.Attributes;
using FTF.Core.Delegates;
using FTF.Core.Entities;
using FTF.Core.Ports;
using FTF.IoC.SimpleInjector.PortsConfig;
using SimpleInjector;
using SimpleInjector.Extensions.LifetimeScoping;
namespace FTF.IoC.SimpleInjector
{
public class Container... | mit | C# |
05bb9c48935b13c8bae8dd8206994b34e92587d0 | Add constructor for DeserializeAsAttribute | jzebedee/lcapi | LCAPI/LCAPI/JSON/DeserializeAsAttribute.cs | LCAPI/LCAPI/JSON/DeserializeAsAttribute.cs | #region License
// Copyright 2010 John Sheehan
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | #region License
// Copyright 2010 John Sheehan
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | agpl-3.0 | C# |
bf40e69c95280ad374c094a51b62040d1a58220a | Add support for the new upcoming in3 payment method | Viincenttt/MollieApi,Viincenttt/MollieApi | Mollie.Api/Models/Payment/PaymentMethod.cs | Mollie.Api/Models/Payment/PaymentMethod.cs | namespace Mollie.Api.Models.Payment {
public static class PaymentMethod {
public const string Bancontact = "bancontact";
public const string BankTransfer = "banktransfer";
public const string Belfius = "belfius";
public const string CreditCard = "creditcard";
public const st... | namespace Mollie.Api.Models.Payment {
public static class PaymentMethod {
public const string Bancontact = "bancontact";
public const string BankTransfer = "banktransfer";
public const string Belfius = "belfius";
public const string CreditCard = "creditcard";
public const st... | mit | C# |
3c3a2096bdae1d0ce1d9cbf1ae91a5d5703245a8 | Update Index.cshtml - fixed "Edit" link. | NinjaVault/NinjaHive,NinjaVault/NinjaHive | NinjaHive.WebApp/Views/Skills/Index.cshtml | NinjaHive.WebApp/Views/Skills/Index.cshtml | @using NinjaHive.Contract.DTOs
@using NinjaHive.WebApp.Controllers
@using NinjaHive.WebApp.Services
@model Skill[]
<div class="row">
<div class="col-md-12">
<br />
<p>
@Html.ActionLink("Create Equipment Item", "Create", null, new { @class = "btn btn-default" })
</p>
... | @using NinjaHive.Contract.DTOs
@using NinjaHive.WebApp.Controllers
@using NinjaHive.WebApp.Services
@model Skill[]
<div class="row">
<div class="col-md-12">
<br />
<p>
@Html.ActionLink("Create Equipment Item", "Create", null, new { @class = "btn btn-default" })
</p>
... | apache-2.0 | C# |
8594f53f01729e13730925d8d24ca3ad6e15eb96 | fix nullable | acple/ParsecSharp | ParsecSharp/Core/Result/SuspendedResult.cs | ParsecSharp/Core/Result/SuspendedResult.cs | using System;
using System.Runtime.InteropServices;
namespace ParsecSharp
{
[StructLayout(LayoutKind.Auto)]
public readonly struct SuspendedResult<TToken, T> : ISuspendedState<TToken>
{
public Result<TToken, T> Result { get; }
public ISuspendedState<TToken> Rest { get; }
IDisposab... | using System;
using System.Runtime.InteropServices;
namespace ParsecSharp
{
[StructLayout(LayoutKind.Auto)]
public readonly struct SuspendedResult<TToken, T> : ISuspendedState<TToken>
{
public Result<TToken, T> Result { get; }
public ISuspendedState<TToken> Rest { get; }
IDisposab... | mit | C# |
0eef398ca74ebf8d860ae81b86eab3ee0f0d9636 | Remove redundant using directive | EVAST9919/osu,johnneijzen/osu,ZLima12/osu,ppy/osu,smoogipoo/osu,peppy/osu,EVAST9919/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,johnneijzen/osu,2yangk23/osu,NeoAdonis/osu,2yangk23/osu,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,ZLima12/osu,ppy/osu,ppy/osu,peppy/osu,smoogipoo/osu,pep... | osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableSwellTick.cs | osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableSwellTick.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Taiko.Objects.Drawables
{
public class DrawableSwellTick : DrawableTaikoHitObject<SwellTick>
{
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Rulesets.Objects.Drawables;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Taiko.Objects.Drawables
{
public class DrawableSwellTick : Dr... | mit | C# |
1b8c9742755b577154f3af146b6b9e78a98e1673 | throw exception in case of compilation error | dinazil/blogsamples,dinazil/blogsamples,dinazil/blogsamples | run_time_code_generation/RpcClientGenerator/ClientGenerator.cs | run_time_code_generation/RpcClientGenerator/ClientGenerator.cs | using System;
using System.CodeDom.Compiler;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Diagnostics;
namespace RpcClientGenerator
{
public static class ClientGenerator
{
public static T GenerateRpcClient<T> (IRpcClient client) where T : class
{
string code = GenerateInterfaceWr... | using System;
using System.CodeDom.Compiler;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Diagnostics;
namespace RpcClientGenerator
{
public static class ClientGenerator
{
public static T GenerateRpcClient<T> (IRpcClient client) where T : class
{
string code = GenerateInterfaceWr... | mit | C# |
00fa7f0837ddfbae4bfd933b96b8f7da6fe68afd | Handle empty entity name in rescuer | jarzynam/continuous,jarzynam/rescuer | src/Rescuer/Rescuer.Management/Controller/RescuerController.cs | src/Rescuer/Rescuer.Management/Controller/RescuerController.cs | using System;
using System.Text;
using Rescuer.Management.Rescuers;
namespace Rescuer.Management.Controller
{
public class RescuerController : IRescuerController
{
private readonly IRescuerFactory _factory;
public RescuerController(IRescuerFactory factory)
{
... | using Rescuer.Management.Rescuers;
namespace Rescuer.Management.Controller
{
public class RescuerController : IRescuerController
{
private readonly IRescuerFactory _factory;
public RescuerController(IRescuerFactory factory)
{
_factory = factory;
}
... | mit | C# |
4c4d3a9d3dc8cde0e9ec2804c2a11f4a483355ac | Add string validation | protyposis/Aurio,protyposis/Aurio | AudioAlign/AudioAlign.WaveControls/TimeSpanConverter.cs | AudioAlign/AudioAlign.WaveControls/TimeSpanConverter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;
using System.Windows.Data;
namespace AudioAlign.WaveControls {
/// <summary>
/// Converts a TimeSpan struct to its string representative by formatting it with the format specified by t... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Data;
namespace AudioAlign.WaveControls {
/// <summary>
/// Converts a TimeSpan struct to its string representative by formatting it with the format specified by the parameter.
/// </summary... | agpl-3.0 | C# |
23e0e4583ca3d09851a8e40658a4392c369c9d28 | Change in VS | miladinoviczeljko/GitTest1 | SimpleWebApi/SimpleWebApi/Controllers/PingController.cs | SimpleWebApi/SimpleWebApi/Controllers/PingController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace SimpleWebApi.Controllers
{
public class PingController : Controller
{
[HttpGet]
[Route("ping")]
public IActionResul... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace SimpleWebApi.Controllers
{
public class PingController : Controller
{
[HttpGet]
[Route("ping")]
public IActionResul... | mit | C# |
58fe66b729be7cb6debd1e2dabd5d258b2fb1713 | Fix string test for ubuntu | stofte/ream-query | query/test/ReamQuery.Test/Helpers.cs | query/test/ReamQuery.Test/Helpers.cs | namespace ReamQuery.Test
{
using System;
using Xunit;
using ReamQuery.Helpers;
using Microsoft.CodeAnalysis.Text;
public class Helpers
{
[Fact]
public void String_InsertTextAt()
{
var inp = Environment.NewLine + " text" + Environment.NewLine;
var... | namespace ReamQuery.Test
{
using System;
using Xunit;
using ReamQuery.Helpers;
using Microsoft.CodeAnalysis.Text;
public class Helpers
{
[Fact]
public void String_InsertTextAt()
{
var inp = "\r\n text\r\n";
var exp = "\r\n new text\r\n";
... | mit | C# |
9b196b0348dfdd296a3c4ca0797f165abb8b633e | fix #353 SideBarUserArea needs to handle the case of not logging in. | aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template | aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/Views/Shared/Components/SideBarUserArea/Default.cshtml | aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/Views/Shared/Components/SideBarUserArea/Default.cshtml | @using AbpCompanyName.AbpProjectName.Web.Views.Shared.Components.SideBarUserArea
@model SideBarUserAreaViewModel
@if (Model.LoginInformations != null && Model.LoginInformations.User != null)
{
<div class="user-info">
<div class="image">
<img src="~/images/user.png" width="48" height="48" alt="U... | @using AbpCompanyName.AbpProjectName.Web.Views.Shared.Components.SideBarUserArea
@model SideBarUserAreaViewModel
<div class="user-info">
<div class="image">
<img src="~/images/user.png" width="48" height="48" alt="User" />
</div>
<div class="info-container">
<div class="name" data-toggle="d... | mit | C# |
c8ea86d3421a5474763cb871f04a828083bfb354 | Change CC/BCC capitalization. | brendanjbaker/Bakery | src/Bakery/Mail/RecipientType.cs | src/Bakery/Mail/RecipientType.cs | namespace Bakery.Mail
{
public enum RecipientType
{
Bcc,
Cc,
To
}
}
| namespace Bakery.Mail
{
public enum RecipientType
{
BCC,
CC,
To
}
}
| mit | C# |
3fa011abe49793fd65e933298fe9a2f5b5c023d6 | Update tests | pakdev/roslyn-analyzers,mavasani/roslyn-analyzers,mavasani/roslyn-analyzers,dotnet/roslyn-analyzers,pakdev/roslyn-analyzers,dotnet/roslyn-analyzers | src/NetAnalyzers/UnitTests/Microsoft.CodeQuality.Analyzers/QualityGuidelines/DoNotDeclareEventFieldsAsVirtualTests.cs | src/NetAnalyzers/UnitTests/Microsoft.CodeQuality.Analyzers/QualityGuidelines/DoNotDeclareEventFieldsAsVirtualTests.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Xunit;
using VerifyCS = Test.Utilities.CSharpCodeFixVerifier<
Microsoft.CodeQuality.Analyzers.QualityGuidelines.DoNot... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Xunit;
using VerifyCS = Test.Utilities.CSharpCodeFixVerifier<
Microsoft.CodeQuality.Analyzers.QualityGuidelines.DoNot... | mit | C# |
ac7ce43739270fd19d447148c14a49ef152eeb9a | Implement LeadingSignCount and LeadingZeroCount ARM64 Base Intrinsics (#20306) | wtgodbe/corefx,mmitche/corefx,shimingsg/corefx,mmitche/corefx,Jiayili1/corefx,ptoonen/corefx,wtgodbe/corefx,ericstj/corefx,Jiayili1/corefx,ericstj/corefx,ViktorHofer/corefx,shimingsg/corefx,ericstj/corefx,wtgodbe/corefx,mmitche/corefx,mmitche/corefx,mmitche/corefx,shimingsg/corefx,wtgodbe/corefx,shimingsg/corefx,Brenna... | src/Common/src/CoreLib/System/Runtime/Intrinsics/Arm/Arm64/Base.cs | src/Common/src/CoreLib/System/Runtime/Intrinsics/Arm/Arm64/Base.cs | using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
namespace System.Runtime.Intrinsics.Arm.Arm64
{
/// <summary>
/// This class provides access to the Arm64 Base intrinsics
///
/// These intrinsics are supported by all Arm64 CPUs
/// </summary>
[CLSCompliant(false)]
pu... | using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
namespace System.Runtime.Intrinsics.Arm.Arm64
{
/// <summary>
/// This class provides access to the Arm64 Base intrinsics
///
/// These intrinsics are supported by all Arm64 CPUs
/// </summary>
[CLSCompliant(false)]
pu... | mit | C# |
d1770cc9c2214b0db6a3e68b6742223849e20db4 | Use IClassificationTypeRegistryService instead of faking the behavior | mavasani/roslyn,mavasani/roslyn,VSadov/roslyn,panopticoncentral/roslyn,tannergooding/roslyn,davkean/roslyn,gafter/roslyn,xasx/roslyn,stephentoub/roslyn,AmadeusW/roslyn,agocke/roslyn,VSadov/roslyn,tmeschter/roslyn,weltkante/roslyn,swaroop-sridhar/roslyn,panopticoncentral/roslyn,aelij/roslyn,reaction1989/roslyn,brettfo/r... | src/EditorFeatures/Test/Workspaces/ClassificationTypeNamesTests.cs | src/EditorFeatures/Test/Workspaces/ClassificationTypeNamesTests.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Reflection;
using Microsoft.CodeAnalysis.Classification;
using Microsoft.VisualStudio.Text.Classification;
usi... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using Microsoft.CodeAnalysis.Classification;
using... | mit | C# |
d8c009b734758936cbba86e5e9b69f51289e7af1 | Fix duplicate 'CollectionBehavior' attribute | akrisiun/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,jazzay/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,Perspex/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,jkori... | tests/Avalonia.Markup.Xaml.UnitTests/Properties/AssemblyInfo.cs | tests/Avalonia.Markup.Xaml.UnitTests/Properties/AssemblyInfo.cs | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System.Reflection;
using Xunit;
[assembly: AssemblyTitle("Avalonia.Markup.Xaml.UnitTests")]
// Don't run tests in parallel.
[assembly: CollectionB... | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System.Reflection;
using Xunit;
[assembly: AssemblyTitle("Avalonia.Markup.Xaml.UnitTests")]
// Don't run tests in parallel.
[assembly: CollectionB... | mit | C# |
81ae20bd85c6c471e9292a8c02ddb903586b7ab1 | Add Copyrights | mono/ServiceStack.Text,NServiceKit/NServiceKit.Text,gerryhigh/ServiceStack.Text,NServiceKit/NServiceKit.Text,gerryhigh/ServiceStack.Text,mono/ServiceStack.Text | src/ServiceStack.Text/HashSet.cs | src/ServiceStack.Text/HashSet.cs | //
// http://code.google.com/p/servicestack/wiki/TypeSerializer
// ServiceStack.Text: .NET C# POCO Type Text Serializer.
//
// Authors:
// Demis Bellot (demis.bellot@gmail.com)
// Mijail Cisneros (cisneros@mijail.ru)
//
// Copyright 2012 Liquidbit Ltd.
//
// Licensed under the same terms of ServiceStack: ... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace ServiceStack.Text.WP
{
///<summary>
/// A hashset implementation that uses an IDictionary
///</summary>
public class HashSet<T> : ICollection<T>, IEnumerable<T>, IEnumerable
{
... | bsd-3-clause | C# |
32991ca8df722aa6c05e982cfbdd5070b11697e9 | Upgrade to latest Xamarin version | MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net | XamarinComponent/raygun4net/component/samples/Raygun.Android.Sample/Raygun.Android.Sample/Resources/Resource.Designer.cs | XamarinComponent/raygun4net/component/samples/Raygun.Android.Sample/Raygun.Android.Sample/Resources/Resource.Designer.cs | #pragma warning disable 1591
//------------------------------------------------------------------------------
// <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 regenerate... | #pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18444
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerate... | mit | C# |
974bd2061afa2158df9f6bf8923ab3f467cbe9e8 | Update 50.EnumConverter.cs | p07r0457/FileHelpers,MarcosMeli/FileHelpers,aim00ver/FileHelpers,guillaumejay/FileHelpers | FileHelpers.Examples/Examples/18.Converters/50.EnumConverter.cs | FileHelpers.Examples/Examples/18.Converters/50.EnumConverter.cs | using System;
using System.Collections;
using System.Collections.Generic;
using FileHelpers;
namespace ExamplesFx
{
public class EnumConverterExample : ExampleBase
{
//-> Name:Enum Converter
//-> Description:When you have a string field in your files that can be better handled if you... | using System;
using System.Collections;
using System.Collections.Generic;
using FileHelpers;
namespace ExamplesFx
{
public class EnumConverterExample : ExampleBase
{
//-> Name:Enum Converter
//-> Description:When you have a string field in your files that can be better handled if you... | mit | C# |
be234f3adbb336510d01d18887d2b5a28df75abc | Change how the GrafeasClient is constructed | googleapis/google-cloud-dotnet,jskeet/gcloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet | apis/Google.Cloud.DevTools.ContainerAnalysis.V1/Google.Cloud.DevTools.ContainerAnalysis.V1/ContainerAnalysisClientPartial.cs | apis/Google.Cloud.DevTools.ContainerAnalysis.V1/Google.Cloud.DevTools.ContainerAnalysis.V1/ContainerAnalysisClientPartial.cs | // Copyright 2019 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | // Copyright 2019 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | apache-2.0 | C# |
00cbe1b4d3751cbdec9016af5e2ef95343363a25 | Rename var changeSet to commit | CamTechConsultants/CvsntGitImporter | Program.cs | Program.cs | /*
* John Hall <john.hall@xjtag.com>
* Copyright (c) Midas Yellow Ltd. All rights reserved.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace CvsGitConverter
{
class Program
{
static void Main(string[] args)
... | /*
* John Hall <john.hall@xjtag.com>
* Copyright (c) Midas Yellow Ltd. All rights reserved.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace CvsGitConverter
{
class Program
{
static void Main(string[] args)
... | mit | C# |
f828e1de51c1533b1568976ce8545f33fe3f9554 | define vars | ddahoo/trebuchet-calculator | Program.cs | Program.cs | using System;
class Program
{
float tHeight,
pMass,
wMass,
armLength,
backLength,
sLength;
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
| using System;
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
| mit | C# |
956ebf20123d3fb1a61aa2d208058ceb6ab4b2e2 | update unit test for new behaviour | SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice | src/SFA.DAS.ProviderApprenticeshipsService.Application.UnitTests/Extensions/ITrainingProgrammeExtensionsTest/WhenDeterminingWhetherACourseIsActive.cs | src/SFA.DAS.ProviderApprenticeshipsService.Application.UnitTests/Extensions/ITrainingProgrammeExtensionsTest/WhenDeterminingWhetherACourseIsActive.cs | using System;
using Moq;
using NUnit.Framework;
using SFA.DAS.ProviderApprenticeshipsService.Application.Extensions;
using SFA.DAS.ProviderApprenticeshipsService.Domain.Models.ApprenticeshipCourse;
namespace SFA.DAS.ProviderApprenticeshipsService.Application.UnitTests.Extensions.ITrainingProgrammeExtensionsTest
{
... | using System;
using Moq;
using NUnit.Framework;
using SFA.DAS.ProviderApprenticeshipsService.Application.Extensions;
using SFA.DAS.ProviderApprenticeshipsService.Domain.Models.ApprenticeshipCourse;
namespace SFA.DAS.ProviderApprenticeshipsService.Application.UnitTests.Extensions.ITrainingProgrammeExtensionsTest
{
... | mit | C# |
cf4791ec99a84fbceb571600ff5d349bd6e2c593 | disable documentation warning for KnownFolderFlags.cs | Willster419/RelicModManager,Willster419/RelhaxModpack,Willster419/RelhaxModpack | RelhaxModpack/RelhaxModpack/Utilities/Enums/KnownFolderFlags.cs | RelhaxModpack/RelhaxModpack/Utilities/Enums/KnownFolderFlags.cs | using System;
namespace RelhaxModpack.Utilities.Enums
{
#pragma warning disable CS1591
///<Summary>
/// Enums for Known Folder Flags
///</Summary>
[Flags]
public enum KnownFolderFlags : uint
{
SimpleIDList = 0x00000100,
NotParentRelative = 0x00000200,
DefaultPath = 0x00... | using System;
namespace RelhaxModpack.Utilities.Enums
{
///<Summary>
/// Enums for Known Folder Flags
///</Summary>
[Flags]
public enum KnownFolderFlags : uint
{
SimpleIDList = 0x00000100,
NotParentRelative = 0x00000200,
DefaultPath = 0x00000400,
Init = 0x000008... | apache-2.0 | C# |
9c5fca99d19e60aeba170f751bfbcfcc330e37f4 | Update SortCriterion.cs | smartsheet-platform/smartsheet-csharp-sdk,smartsheet-platform/smartsheet-csharp-sdk | main/Smartsheet/Api/Models/SortCriterion.cs | main/Smartsheet/Api/Models/SortCriterion.cs | // #[license]
// SmartsheetClient SDK for C#
// %%
// Copyright (C) 2018 SmartsheetClient
// %%
// 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
//
// ... | // #[license]
// SmartsheetClient SDK for C#
// %%
// Copyright (C) 2018 SmartsheetClient
// %%
// 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
//
// ... | apache-2.0 | C# |
0d4a5aa4a9f5dcbd65a7c5483b46256b35bf4e74 | Edit credit-reverse | balanced/balanced-csharp | scenarios/snippets/credit-reverse.cs | scenarios/snippets/credit-reverse.cs | Credit credit = Credit.Fetch(credit_href);
Reversal reversal = credit.Reverse(); | Credit credit = Order.credits.First();
Reversal reversal = credit.Reverse(); | mit | C# |
8ef2c2917d31892f9fbc126aaef87146af007831 | Update source/XeroApi/Model/Organisation.cs | MatthewSteeples/XeroAPI.Net,jcvandan/XeroAPI.Net,XeroAPI/XeroAPI.Net,TDaphneB/XeroAPI.Net | source/XeroApi/Model/Organisation.cs | source/XeroApi/Model/Organisation.cs | using System;
namespace XeroApi.Model
{
public class Organisation : EndpointModelBase
{
public string Name;
public string LegalName;
public DateTime CreatedDateUTC;
public string APIKey;
public bool PaysTax;
public string Version;
... | using System;
namespace XeroApi.Model
{
public class Organisation : EndpointModelBase
{
public string Name;
public string LegalName;
public DateTime CreatedDateUTC;
public string APIKey;
public bool PaysTax;
public string Version;
... | mit | C# |
2499c760f99986709c3063e81c278ceabe02d839 | Add book reference | scott-fleischman/algorithms-csharp | src/Algorithms.Sort/InsertionSort.cs | src/Algorithms.Sort/InsertionSort.cs | using System.Collections.Generic;
namespace Algorithms.Sort
{
public static class InsertionSort
{
public static void SortInPlace<T>(IList<T> list)
{
SortInPlace(list, Comparer<T>.Default);
}
// Ch 2.1, p.18
public static void SortInPlace<T>(IList<T> list, IComparer<T> comparer)
{
if... | using System.Collections.Generic;
namespace Algorithms.Sort
{
public static class InsertionSort
{
public static void SortInPlace<T>(IList<T> list)
{
SortInPlace(list, Comparer<T>.Default);
}
public static void SortInPlace<T>(IList<T> list, IComparer<T> comparer)
{
if (list.Count < 2)
... | mit | C# |
1b2bfd45da8f2ebc5e4110482ada8c311e10728a | Disable delayed messages to see what effect it has on tests. | FoundatioFx/Foundatio,Bartmax/Foundatio,vebin/Foundatio,exceptionless/Foundatio,wgraham17/Foundatio | src/Core/Messaging/MessageBusBase.cs | src/Core/Messaging/MessageBusBase.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Foundatio.Extensions;
using Foundatio.Utility;
namespace Foundatio.Messaging {
public abstract class MessageBusBase : IMessagePublisher, IDisposable {
pr... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Foundatio.Extensions;
using Foundatio.Utility;
namespace Foundatio.Messaging {
public abstract class MessageBusBase : IMessagePublisher, IDisposable {
pr... | apache-2.0 | C# |
738ec6c0e46c2186a327fd170ddc61dfb9237612 | Update MFractor location, contact email and bio. (#631) | planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin | src/Firehose.Web/Authors/MFractor.cs | src/Firehose.Web/Authors/MFractor.cs | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class MFractor : IAmACommunityMember
{
public string FirstName => "MFractor";
public string LastName => "";
public string StateOrRegion => "Brisbane, Australia";
... | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class MFractor : IAmACommunityMember
{
public string FirstName => "MFractor";
public string LastName => "";
public string StateOrRegion => "Sydney, Australia";
... | mit | C# |
a234127bdb46619d2e7e692f77358f8f853d8390 | Refactor Atata.KendoUI.TestApp.Startup | atata-framework/atata-kendoui,atata-framework/atata-kendoui | src/Atata.KendoUI.TestApp/Startup.cs | src/Atata.KendoUI.TestApp/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
namespace Atata.KendoUI.TestApp
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddRazorPages();
}
public void Configure(IApplicationB... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
namespace Atata.KendoUI.TestApp
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddRazorPages();
}
... | apache-2.0 | C# |
58a67b69a949f5e0e5349573a66a9d663f98268c | Revert "(GH-36) Fix broken test" | enkafan/Cake.Figlet | src/Cake.Figlet.Tests/FigletTests.cs | src/Cake.Figlet.Tests/FigletTests.cs | using System;
using Shouldly;
using Xunit;
namespace Cake.Figlet.Tests
{
public class FigletTests
{
[Fact]
public void Figlet_can_render()
{
const string expected = @"
_ _ _ _ __ __ _ _
| | | | ___ | || | ___ \ \ /... | using System;
using Shouldly;
using Xunit;
namespace Cake.Figlet.Tests
{
public class FigletTests
{
[Fact]
public void Figlet_can_render()
{
const string expected = @"
_ _ _ _ __ __ _ _
| | | | ___ | || | ___ \ \ / ... | mit | C# |
55441d59a13324bac28044fd590c9debe49b69e1 | Convert fields to properties, place after constructor | mmoening/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,mmoening/MatterControl,mmoening/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterC... | MatterControlLib/ConfigurationPage/PrintLeveling/PrintLevelingData.cs | MatterControlLib/ConfigurationPage/PrintLeveling/PrintLevelingData.cs | /*
Copyright (c) 2018, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... | /*
Copyright (c) 2018, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... | bsd-2-clause | C# |
1d637d94f69702122f04fd3d33a1d3798055671a | Fix xml comment cref compiler warning | tyrotoxin/AsyncEnumerable | src/ForEachAsyncCanceledException.cs | src/ForEachAsyncCanceledException.cs | namespace System.Collections.Async
{
/// <summary>
/// This exception is thrown when you call <see cref="ForEachAsyncExtensions.Break"/>.
/// </summary>
public sealed class ForEachAsyncCanceledException : OperationCanceledException { }
}
| namespace System.Collections.Async
{
/// <summary>
/// This exception is thrown when you call <see cref="AsyncEnumerable{T}.Break"/>.
/// </summary>
public sealed class ForEachAsyncCanceledException : OperationCanceledException { }
}
| mit | C# |
b35167c30eb6b21a2978fa26faa1398ef11598ac | Add experimental flag | stephentoub/roslyn,AlekseyTs/roslyn,gafter/roslyn,CyrusNajmabadi/roslyn,tannergooding/roslyn,wvdd007/roslyn,sharwell/roslyn,panopticoncentral/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,weltkante/roslyn,AmadeusW/roslyn,diryboy/roslyn,KevinRansom/roslyn,tannergooding/roslyn,dotnet/roslyn,gafter/roslyn,bartdesmet/roslyn,d... | src/Workspaces/Core/Portable/Experiments/IExperimentationService.cs | src/Workspaces/Core/Portable/Experiments/IExperimentationService.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Composition;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Host.Mef;
... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Composition;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Host.Mef;
... | mit | C# |
384038b3298aa2301f06e6e68449c7c96f988218 | Update ShapeStateTypeConverter.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D | src/Core2D/Serializer/Xaml/Converters/ShapeStateTypeConverter.cs | src/Core2D/Serializer/Xaml/Converters/ShapeStateTypeConverter.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.ComponentModel;
using System.Globalization;
using Core2D.Renderer;
namespace Core2D.Serializer.Xaml.Converters
{
/// <summary>
... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Globalization;
using System.ComponentModel;
using Core2D.Renderer;
namespace Core2D.Serializer.Xaml.Converters
{
/// <summary>
... | mit | C# |
fdc73259a67a0c005a530b61cbca39f41226b13f | Handle cases when the short folder name cannot be executed | joelverhagen/NuGetTools,joelverhagen/NuGetTools,joelverhagen/NuGetTools,joelverhagen/NuGetTools | src/Knapcode.NuGetTools.Website/Views/Home/ParseFramework.cshtml | src/Knapcode.NuGetTools.Website/Views/Home/ParseFramework.cshtml | @model SelectedVersionOutput<ParseFrameworkOutput>
@{
ViewData["Title"] = "Parse Framework";
var output = Model.Output;
}
<h1>Parse a framework</h1>
<p>
Enter a NuGet framework to see how it parses. Both short form (e.g. <code>net45</code>) and long form (e.g. <code>.NETFramework,Version=v4.5</code>) are ... | @model SelectedVersionOutput<ParseFrameworkOutput>
@{
ViewData["Title"] = "Parse Framework";
var output = Model.Output;
}
<h1>Parse a framework</h1>
<p>
Enter a NuGet framework to see how it parses. Both short form (e.g. <code>net45</code>) and long form (e.g. <code>.NETFramework,Version=v4.5</code>) are ... | mit | C# |
75e6e28ac3d99da6d7238616ac2df79cedc01cb7 | remove unused code | EhrgoHealth/CS6440,EhrgoHealth/CS6440 | src/EhrgoHealth.Web/Areas/Patient/Controllers/HomeController.cs | src/EhrgoHealth.Web/Areas/Patient/Controllers/HomeController.cs | using Fitbit.Api.Portable;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
namespace EhrgoHealth.Web.Areas.Patient.Controllers
{
public class HomeController : PatientBaseController
{
private readonly ApplicationUs... | using Fitbit.Api.Portable;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
namespace EhrgoHealth.Web.Areas.Patient.Controllers
{
public class HomeController : PatientBaseController
{
private readonly FitbitClient ... | mit | C# |
4a38e2aa18bc02a7bd3e1c86a645003284a9f59e | Remove redundant string interpolation | ppy/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,Tom94/osu-framework,DrabWeb/osu-framework,Nabile-Rahmani/osu-framework,DrabW... | osu.Framework.Tests/Visual/TestCaseCircularContainer.cs | osu.Framework.Tests/Visual/TestCaseCircularContainer.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics;
using OpenTK;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Testing;
... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics;
using OpenTK;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Testing;
... | mit | C# |
6db22366e2bcd50bb60aaa5b327d42e6fa639ad0 | Add new tests and tidy up existing tests | ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,smoogipooo/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,EVAST9919/osu,NeoAdonis/osu,EVAST9919/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,ppy/osu,peppy/osu | osu.Game.Tests/Visual/Gameplay/TestSceneFailingLayer.cs | osu.Game.Tests/Visual/Gameplay/TestSceneFailingLayer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Testing;
using osu.Game.Configuration;
using osu.Game.Rulesets.Scoring;
using osu.Game.Screens... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Game.Configuration;
using osu.Game.Screens.Play.HUD;
namespace osu.Game.Tests.Visual.Gameplay
{
pub... | mit | C# |
c6c9bfa12843124a7ba690969c714fa3662eb496 | Fix iOS builds | peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework | osu.Framework.iOS/IOSClipboard.cs | osu.Framework.iOS/IOSClipboard.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Platform;
using SixLabors.ImageSharp;
using UIKit;
namespace osu.Framework.iOS
{
public class IOSClipboard : Clipboard
{
private read... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Platform;
using UIKit;
namespace osu.Framework.iOS
{
public class IOSClipboard : Clipboard
{
private readonly IOSGameView gameView;
... | mit | C# |
22468f1cf2a03080167c16336906432068b5714a | Add `being_called` value | antonpup/Aurora,antonpup/Aurora,antonpup/Aurora,antonpup/Aurora,antonpup/Aurora | Project-Aurora/Project-Aurora/Profiles/Discord/GSI/Nodes/UserNode.cs | Project-Aurora/Project-Aurora/Profiles/Discord/GSI/Nodes/UserNode.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aurora.Profiles.Discord.GSI.Nodes {
public enum DiscordStatus
{
Undefined,
Online,
Idle,
DoNotDisturb,
Invisible
}
public class UserNod... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aurora.Profiles.Discord.GSI.Nodes {
public enum DiscordStatus
{
Undefined,
Online,
Idle,
DoNotDisturb,
Invisible
}
public class UserNod... | mit | C# |
8a6289c6756c488870ff6d06345af5afeadb47a6 | Format changes | mono-soc-2012/Tasque,mono-soc-2012/Tasque,mono-soc-2012/Tasque | src/Addins/DummyBackend/DummyTask.cs | src/Addins/DummyBackend/DummyTask.cs | // DummyTask.cs created with MonoDevelop
// User: boyd at 8:50 PM 2/10/2008
//
// DummyTask.cs
//
// Author:
// Antonius Riha <antoniusriha@gmail.com>
//
// Copyright (c) 2012 Antonius Riha
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated d... | // DummyTask.cs created with MonoDevelop
// User: boyd at 8:50 PM 2/10/2008
//
// DummyTask.cs
//
// Author:
// Antonius Riha <antoniusriha@gmail.com>
//
// Copyright (c) 2012 Antonius Riha
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated d... | mit | C# |
06d7e844d98d0e0be4b1d8a6f701eea7c7845233 | Fix for #11 | tylerlrhodes/bagombo,tylerlrhodes/bagombo,tylerlrhodes/bagombo | src/Bagombo/Views/Home/Search.cshtml | src/Bagombo/Views/Home/Search.cshtml |
@using Bagombo.Models.ViewModels.Home
@model SearchResultsViewModel
@{
ViewData["Title"] = $"Posts for Search: {Model.SearchTerm}";
Layout = "_Layout";
}
<div class="container-fluid">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<h3>Posts for Search: <span class="label label... |
@using Bagombo.Models.ViewModels.Home
@model SearchResultsViewModel
@{
ViewData["Title"] = $"Posts for Search: {Model.SearchTerm}";
Layout = "_Layout";
}
<div class="container-fluid">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<h3>Posts for Search: <span class="label label... | mit | C# |
ec226cc8b17e04500e4c8559a097dc71695b306b | Remove session-commit statement that is not needed and already handled by middleware | billboga/motleyflash,billboga/motleyflash | src/MotleyFlash.AspNetCore.MessageProviders/SessionMessageProvider.cs | src/MotleyFlash.AspNetCore.MessageProviders/SessionMessageProvider.cs | using Microsoft.AspNetCore.Http;
using Newtonsoft.Json;
using System.Text;
namespace MotleyFlash.AspNetCore.MessageProviders
{
public class SessionMessageProvider : IMessageProvider
{
public SessionMessageProvider(ISession session)
{
this.session = session;
}
priva... | using Microsoft.AspNetCore.Http;
using Newtonsoft.Json;
using System.Text;
namespace MotleyFlash.AspNetCore.MessageProviders
{
public class SessionMessageProvider : IMessageProvider
{
public SessionMessageProvider(ISession session)
{
this.session = session;
}
priva... | mit | C# |
37992beb1fc29679b7163559348dbcdc925cca89 | Enable loading of TraceEvent from byte array. In that case we use as assembly location the executable location as fallback since there is no file name attached to the byte array. | vancem/perfview,vancem/perfview,vancem/perfview,vancem/perfview,vancem/perfview | src/TraceEvent/NativeDlls.cs | src/TraceEvent/NativeDlls.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;
/// <summary>
/// Finds native DLLS next to the managed DLL that uses them.
/// </summary>
class NativeDlls
{
/// <summary>
/// ManifestModule.FullyQualifiedName returns this as file path... | using System;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;
/// <summary>
/// Finds native DLLS next to the managed DLL that uses them.
/// </summary>
class NativeDlls
{
/// <summary>
/// Loads a native DLL with a filename-extention of 'simpleName' by adding the path of th... | mit | C# |
7d51a5915ea02ed050e2febb39426ead9cbb476e | Remove SetExclusive logic | peppy/osu-framework,EVAST9919/osu-framework,naoey/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,paparony03/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,default0/osu-framework,ppy/osu-framework,Tom94/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framewo... | osu.Framework/Audio/Track/TrackManager.cs | osu.Framework/Audio/Track/TrackManager.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Linq;
using osu.Framework.IO.Stores;
using System;
namespace osu.Framework.Audio.Track
{
public class TrackManager : AudioCollectio... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Linq;
using osu.Framework.IO.Stores;
using System;
namespace osu.Framework.Audio.Track
{
public class TrackManager : AudioCollectio... | mit | C# |
5e190c1cdcd1df54fd7394b3c6a9c3d153101fe6 | make sure we don't crash due to missing items | liam-middlebrook/Navier-Boats | Navier-Boats/Navier-Boats/Navier-Boats/Engine/Inventory/ItemManager.cs | Navier-Boats/Navier-Boats/Navier-Boats/Engine/Inventory/ItemManager.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Newtonsoft.Json;
using Microsoft.Xna.Framework.Graphics;
using Navier_Boats.Engine.Entities;
namespace Navier_Boats.Engine.Inventory
{
public class ItemManager
{
private static ItemManager inst... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Newtonsoft.Json;
using Microsoft.Xna.Framework.Graphics;
using Navier_Boats.Engine.Entities;
namespace Navier_Boats.Engine.Inventory
{
public class ItemManager
{
private static ItemManager inst... | apache-2.0 | C# |
780af0fd5f8970bc18025d6fa581e21e2b95d85b | fix dynamo datetime handling | carbon/Amazon | src/Amazon.DynamoDb/Extensions/JsonElementExtensions.cs | src/Amazon.DynamoDb/Extensions/JsonElementExtensions.cs | using Amazon.DynamoDb.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.Text.Json;
namespace Amazon.DynamoDb.Extensions
{
public static class JsonElementExtensions
{
public static string[] GetStringArray(this JsonElement element)
... | using Amazon.DynamoDb.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.Text.Json;
namespace Amazon.DynamoDb.Extensions
{
public static class JsonElementExtensions
{
public static string[] GetStringArray(this JsonElement element)
... | mit | C# |
94e319b9b23f73938bb95f1453a4d07c73f5983e | fix ctxt prop type | icraftsoftware/BizTalk.Factory,icraftsoftware/BizTalk.Factory,icraftsoftware/BizTalk.Factory | src/BizTalk.Schemas/ContextProperties/SftpProperties.cs | src/BizTalk.Schemas/ContextProperties/SftpProperties.cs | #region Copyright & License
// Copyright © 2012 - 2017 François Chabot, Yves Dierick
//
// 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/LICEN... | #region Copyright & License
// Copyright © 2012 - 2017 François Chabot, Yves Dierick
//
// 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/LICEN... | apache-2.0 | C# |
ed5810aa6f0cfb7121626ac3ce4c2b9bf883adc4 | Update to use property, not field. bugid: 146 | jonnybee/csla,MarimerLLC/csla,rockfordlhotka/csla,MarimerLLC/csla,JasonBock/csla,BrettJaner/csla,ronnymgm/csla-light,BrettJaner/csla,JasonBock/csla,jonnybee/csla,BrettJaner/csla,rockfordlhotka/csla,MarimerLLC/csla,ronnymgm/csla-light,JasonBock/csla,jonnybee/csla,rockfordlhotka/csla,ronnymgm/csla-light | cslatest/Csla.Test/Silverlight/Server/DataPortal/TestableDataPortal.cs | cslatest/Csla.Test/Silverlight/Server/DataPortal/TestableDataPortal.cs | using System;
using Csla.Server;
namespace Csla.Testing.Business.DataPortal
{
/// <summary>
/// Basically this test class exposes protected DataPortal constructor overloads to the
/// Unit Testing System, allowing for a more fine-grained Unit Tests
/// </summary>
public class TestableDataPortal... | using System;
using Csla.Server;
namespace Csla.Testing.Business.DataPortal
{
/// <summary>
/// Basically this test class exposes protected DataPortal constructor overloads to the
/// Unit Testing System, allowing for a more fine-grained Unit Tests
/// </summary>
public class TestableDataPortal... | mit | C# |
6d050189e7e62d4fe909b81146084056651fc29b | Add plugs | CosmosOS/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos | source/Cosmos.Core_Plugs/Interop/SysImpl.cs | source/Cosmos.Core_Plugs/Interop/SysImpl.cs | using IL2CPU.API.Attribs;
using System;
namespace Cosmos.Core_Plugs.Interop
{
[Plug("Interop+Sys, System.Private.CoreLib", IsOptional = true)]
class SysImpl
{
[PlugMethod(Signature = "System_IntPtr__Interop_Sys_GetUnixNamePrivate__")]
public static IntPtr GetUnixNamePrivate()
{
... | using IL2CPU.API.Attribs;
using System;
namespace Cosmos.Core_Plugs.Interop
{
[Plug("Interop+Sys, System.Private.CoreLib", IsOptional = true)]
class SysImpl
{
[PlugMethod(Signature = "System_IntPtr__Interop_Sys_GetUnixNamePrivate__")]
public static IntPtr GetUnixNamePrivate()
{
... | bsd-3-clause | C# |
2c6f4b743a1114ab2559fd083e9def8a6bff3596 | add try catch to accounts controller in dbapi | MassDebaters/DebateApp,MassDebaters/DebateApp,MassDebaters/DebateApp | DebateAppDB/DebateAppDB.dbRest/Controllers/AccountsController.cs | DebateAppDB/DebateAppDB.dbRest/Controllers/AccountsController.cs | using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using DebateApp.db;
using DebateAppDB.dbRest.Models;
using System.IO;
using Newtonsoft.Json;
using Microsoft.Extensions.Configuration;
namespace DebateAppDB.dbRest.Controllers
{
[Produces("application/json", "text/plain")]
[Route(... | using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using DebateApp.db;
using DebateAppDB.dbRest.Models;
using System.IO;
using Newtonsoft.Json;
using Microsoft.Extensions.Configuration;
namespace DebateAppDB.dbRest.Controllers
{
[Produces("application/json", "text/plain")]
[Route(... | mit | C# |
3e954ed2831b3e1c064f81763b32144c47add172 | Update JamesMontemagno.cs (#331) | planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin | src/Firehose.Web/Authors/JamesMontemagno.cs | src/Firehose.Web/Authors/JamesMontemagno.cs | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
using System.ServiceModel.Syndication;
using System.Linq;
namespace Firehose.Web.Authors
{
public class JamesMontemagno : IWorkAtXamarinOrMicrosoft, IFilterMyBlogPosts
{
public string FirstName => "James";
publ... | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
using System.ServiceModel.Syndication;
using System.Linq;
namespace Firehose.Web.Authors
{
public class JamesMontemagno : IWorkAtXamarinOrMicrosoft, IFilterMyBlogPosts
{
public string FirstName => "James";
publ... | mit | C# |
9fddf5a0fb2e99d9d2d207d5e29576cc6dd47394 | Rename copied class TfsHelperVS2012Base to TfsHelpverVs2017Base | PKRoma/git-tfs,git-tfs/git-tfs | src/GitTfs.VsCommon/TfsHelper.Vs2017Base.cs | src/GitTfs.VsCommon/TfsHelper.Vs2017Base.cs | using System;
using System.Linq;
using Microsoft.TeamFoundation.Client;
using Microsoft.TeamFoundation.Server;
using Microsoft.TeamFoundation.VersionControl.Client;
using StructureMap;
using GitTfs.Core.TfsInterop;
using Microsoft.TeamFoundation.Build.Client;
namespace GitTfs.VsCommon
{
public abstract class TfsHe... | using System;
using System.Linq;
using Microsoft.TeamFoundation.Client;
using Microsoft.TeamFoundation.Server;
using Microsoft.TeamFoundation.VersionControl.Client;
using StructureMap;
using GitTfs.Core.TfsInterop;
using Microsoft.TeamFoundation.Build.Client;
namespace GitTfs.VsCommon
{
public abstract class TfsHe... | apache-2.0 | C# |
b114f1afc31b206dc3e099a900843ecec6a45504 | Package hotfix | lfreneda/GzipS3Client | src/GzipS3Client/Properties/AssemblyInfo.cs | src/GzipS3Client/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Gz... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Gz... | mit | C# |
d191e222e473cf3045382e9342059b8fb8388861 | Fix a bad comment | vbfox/pinvoke,AArnott/pinvoke,jmelosegui/pinvoke | src/Kernel32.Desktop/Kernel32+GRPICONDIR.cs | src/Kernel32.Desktop/Kernel32+GRPICONDIR.cs | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
using System.Runtime.InteropServices;
/// <content>
/// Conta... | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
using System.Runtime.InteropServices;
/// <content>
/// Conta... | mit | C# |
7a2816720691c4d41e81135136d58192af5a4954 | Update NestedAwaitsDoNotDeadlockScenario.cs | JoeMighty/shouldly | src/Shouldly.Tests/ShouldNotThrow/NestedAwaitsDoNotDeadlockScenario.cs | src/Shouldly.Tests/ShouldNotThrow/NestedAwaitsDoNotDeadlockScenario.cs | using System;
using System.Threading.Tasks;
using System.Threading;
using Xunit;
namespace Shouldly.Tests.ShouldNotThrow
{
public class NestedAwaitsDoNotDeadlockScenario
{
[Fact]
public void DelegateShouldDropSynchronisationContext()
{
// The await keyword will automaticall... | using System;
using System.Threading.Tasks;
using System.Threading;
using Xunit;
namespace Shouldly.Tests.ShouldNotThrow
{
public class NestedAwaitsDoNotDeadlockScenario
{
[Fact]
public void DelegateShouldDropSynchronisationContext()
{
// The await keyword will automatical... | bsd-3-clause | C# |
d4d52c0512d90da430d6b9dca0e91fa867d95cd6 | Resolve Name Conflict | unity-chicken/VFW,laicasaane/VFW,vexe/VFW,wizcas/VFW | Assets/Plugins/Vexe/Runtime/Library/Extensions/UnityObjectExtensions.cs | Assets/Plugins/Vexe/Runtime/Library/Extensions/UnityObjectExtensions.cs | using UnityEngine;
using UnityObject = UnityEngine.Object;
namespace Vexe.Runtime.Extensions
{
public static class UnityObjectExtensions
{
public static T Copy<T>(this T source, Vector3 pos, Quaternion rot) where T : UnityObject
{
return UnityObject.Instantiate(source, pos, rot) a... | using UnityEngine;
using UnityObject = UnityEngine.Object;
namespace Vexe.Runtime.Extensions
{
public static class UnityObjectExtensions
{
public static T Instantiate<T>(this T source, Vector3 pos, Quaternion rot) where T : UnityObject
{
return UnityObject.Instantiate(source, pos,... | mit | C# |
151173d7d9e6f0de39c831ee3ee96cf3c0febbda | Make the UWP page presenter us a common content control | KallynGowdy/ReactiveUI.Routing | src/ReactiveUI.Routing.UWP/PagePresenter.cs | src/ReactiveUI.Routing.UWP/PagePresenter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Core;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
using ReactiveUI.Routing.Pre... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Core;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
using ReactiveUI.Routing.Pre... | mit | C# |
c2109060934529ed72a3a869d11db1c6589da0bd | Allow ChoiceInstances to have a public constructor | ivaylo5ev/ink,inkle/ink,ivaylo5ev/ink,inkle/ink,ghostpattern/ink,ghostpattern/ink | ink-engine-runtime/ChoiceInstance.cs | ink-engine-runtime/ChoiceInstance.cs |
namespace Ink.Runtime
{
public class ChoiceInstance : Runtime.Object
{
public string choiceText { get; internal set; }
internal bool hasBeenChosen { get; set; }
internal Choice choice { get; private set; }
internal CallStack.Thread threadAtGeneration { get; set; }
public ChoiceIn... |
namespace Ink.Runtime
{
public class ChoiceInstance : Runtime.Object
{
public string choiceText { get; internal set; }
internal bool hasBeenChosen { get; set; }
internal Choice choice { get; private set; }
internal CallStack.Thread threadAtGeneration { get; set; }
internal ChoiceInstan... | mit | C# |
4c02927e0b1e6be7cb2b8587ff0ca605c0175c04 | Update PushalotMessageBuilder.cs | tiksn/TIKSN-Framework | TIKSN.Core/Analytics/Telemetry/Pushalot/PushalotMessageBuilder.cs | TIKSN.Core/Analytics/Telemetry/Pushalot/PushalotMessageBuilder.cs | using System;
namespace TIKSN.Analytics.Telemetry.Pushalot
{
public class PushalotMessageBuilder
{
public string MessageBody { get; set; }
public string MessageImage { get; set; }
public bool MessageIsImportant { get; set; }
public bool MessageIsSilent { get; set; }
pub... | namespace TIKSN.Analytics.Telemetry.Pushalot
{
public class PushalotMessageBuilder
{
public PushalotMessageBuilder()
{
}
public string MessageBody { get; set; }
public string MessageImage { get; set; }
public bool MessageIsImportant { get; set; }
public ... | mit | C# |
7db39ef7330697de2507693518b8d9f6db1bacca | Update FileSystemComponent.cs | grzesiek-galezowski/component-based-test-tool | ComponentBasedTestTool/Components/FileSystemComponent.cs | ComponentBasedTestTool/Components/FileSystemComponent.cs | using System.Windows;
using ExtensionPoints.ImplementedByComponents;
using ExtensionPoints.ImplementedByContext;
using ExtensionPoints.ImplementedByContext.StateMachine;
namespace Components;
public class FileSystemComponent :
CoreTestComponent,
Capabilities.CustomGui,
Capabilities.CleanupOnEnvironmentClosin... | using System.Windows;
using ExtensionPoints.ImplementedByComponents;
using ExtensionPoints.ImplementedByContext;
using ExtensionPoints.ImplementedByContext.StateMachine;
namespace Components;
public class FileSystemComponent :
CoreTestComponent,
Capabilities.CustomGui,
Capabilities.CleanupOnEnvironmentClosin... | mit | C# |
12253be382bfdaf4eccca281b47f49070bf5e082 | Fix compile error around exporting SecureString | Zoxive/libgit2sharp,Zoxive/libgit2sharp,PKRoma/libgit2sharp,libgit2/libgit2sharp | LibGit2Sharp.Shared/SecureUsernamePasswordCredentials.cs | LibGit2Sharp.Shared/SecureUsernamePasswordCredentials.cs | using System;
using System.Runtime.InteropServices;
using System.Security;
using LibGit2Sharp.Core;
namespace LibGit2Sharp
{
/// <summary>
/// Class that uses <see cref="SecureString"/> to hold username and password credentials for remote repository access.
/// </summary>
public sealed class SecureUse... | using System;
using System.Runtime.InteropServices;
using System.Security;
using LibGit2Sharp.Core;
namespace LibGit2Sharp
{
/// <summary>
/// Class that uses <see cref="SecureString"/> to hold username and password credentials for remote repository access.
/// </summary>
public sealed class SecureUse... | mit | C# |
7c1c9ca3764f5cc1b9e775c51133eadd63413e18 | Fix location of pragmas to get XML documentation to build. | BenJenkinson/nodatime,zaccharles/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,nodatime/nodatime,jskeet/nodatime,zaccharles/nodatime,zaccharles/nodatime,nodatime/nodatime,zaccharles/nodatime,zaccharles/nodatime,jskeet/nodatime,malcolmr/nodatime,malcolmr/nodatime,malcolmr/nodatime,zaccharles/nodatime | src/NodaTime/IClock.cs | src/NodaTime/IClock.cs | // Copyright 2011 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System;
namespace NodaTime
{
#pragma warning disable 1584,1711,1572,1581,1580
/// <summary>
/// Represents a clock which can retu... | // Copyright 2011 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System;
namespace NodaTime
{
/// <summary>
/// Represents a clock which can return the current time as an <see cref="Instant" />.
... | apache-2.0 | C# |
18c8a9b9b805ef1f103dbcdf336591b9a8f4a642 | Add safety to ice cream hours. | samfun123/KtaneTwitchPlays,CaitSith2/KtaneTwitchPlays | TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Misc/IceCreamConfirm.cs | TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Misc/IceCreamConfirm.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using Newtonsoft.Json;
public class IceCreamConfirm : ComponentSolver
{
public IceCreamConfirm(BombCommander bombCommander, BombComponent bombComponent) :
base(bombCommander, bomb... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using Newtonsoft.Json;
public class IceCreamConfirm : ComponentSolver
{
public IceCreamConfirm(BombCommander bombCommander, BombComponent bombComponent) :
base(bombCommander, bomb... | mit | C# |
d81639e0dbefaad73dd36aed4ab153ed45ac656d | Remove the build attributes because they'll be generated with a full namespace | thenucleus/nuclei.build | src/nuclei.build/Properties/AssemblyInfo.cs | src/nuclei.build/Properties/AssemblyInfo.cs | //-----------------------------------------------------------------------
// <copyright company="TheNucleus">
// Copyright (c) TheNucleus. All rights reserved.
// Licensed under the Apache License, Version 2.0 license. See LICENCE.md file in the project root for full license information.
// </copyright>
//-------... | //-----------------------------------------------------------------------
// <copyright company="TheNucleus">
// Copyright (c) TheNucleus. All rights reserved.
// Licensed under the Apache License, Version 2.0 license. See LICENCE.md file in the project root for full license information.
// </copyright>
//-------... | apache-2.0 | C# |
52917efd1a42a1a8ef203ca632fa5fe5e4a22908 | fix UnitType.id comment | ad510/plausible-deniability | Assets/Scripts/UnitType.cs | Assets/Scripts/UnitType.cs | // Copyright (c) 2013 Andrew Downing
// 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, modify, merge, publish, distribut... | // Copyright (c) 2013 Andrew Downing
// 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, modify, merge, publish, distribut... | mit | C# |
d836234cf8f5cb6873cd53698d4861262e2415f4 | Change attributes order | Lc5/CurrencyRates,Lc5/CurrencyRates,Lc5/CurrencyRates | src/CurrencyRates/Entity/Currency.cs | src/CurrencyRates/Entity/Currency.cs | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace CurrencyRates.Entity
{
public class Currency
{
[Key, MaxLength(3), MinLength(3)]
public string Code { get; set; }
[MaxLength(128), Required]
public string Name { get; set; }
... | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace CurrencyRates.Entity
{
public class Currency
{
[Key, MaxLength(3), MinLength(3)]
public string Code { get; set; }
[Required, MaxLength(128)]
public string Name { get; set; }
... | mit | C# |
df57c8174c75a81a10b8e7a93f79d2b68a5685df | remove comments from settings | Dethrail/pinball | Assets/scripts/common/Settings.cs | Assets/scripts/common/Settings.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Serialization;
using UnityEngine;
[XmlType("settings")]
public sealed class Settings
{
public static Settings Instance;
[XmlAttribute("lives-count")]
public int LivesCount;
[XmlArray("obstacles")]
public List<XM... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Serialization;
using UnityEngine;
[XmlType("settings")]
public sealed class Settings
{
public static Settings Instance;
[XmlAttribute("lives-count")]
public int LivesCount;
[XmlArray("obstacles")]
public List<XM... | mit | C# |
a1cef528e162b3529cd8a5c53807f728ff5ddce9 | make Loggger Builder | CloudBreadProject/CloudBread-Admin-Web,CloudBreadProject/CloudBread-Admin-Web,yshong93/CloudBread-Admin-Web,yshong93/CloudBread-Admin-Web,yshong93/CloudBread-Admin-Web,CloudBreadProject/CloudBread-Admin-Web | CBLoggerBuilder.cs | CBLoggerBuilder.cs | using CloudBreadAdminWebAuth;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Web;
using System.Web.Http.OData;
namespace CloudBread_Admin_Web
{
public class CBLoggerBuilder
{
public enum LoggerType { GET, GETbyIID, PUT, POST, PATCH, DELETE... | using CloudBreadAdminWebAuth;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Web;
namespace CloudBread_Admin_Web
{
public class CBLoggerBuilder
{
public enum LoggerType { GET, GETbyIID, PUT, POST, PATCH, DELETE };
public enum Level... | mit | C# |
cfab2643e3202955c53a1120dca752b5ed9f6075 | make virtual | coderUT/Dragablz,ButchersBoy/Dragablz | Dragablz/DefaultInterTabClient.cs | Dragablz/DefaultInterTabClient.cs | using System;
using System.Linq;
using System.Windows;
using Dragablz.Core;
namespace Dragablz
{
public class DefaultInterTabClient : IInterTabClient
{
public virtual INewTabHost<Window> GetNewHost(IInterTabClient interTabClient, object partition, TabablzControl source)
{
if... | using System;
using System.Linq;
using System.Windows;
using Dragablz.Core;
namespace Dragablz
{
public class DefaultInterTabClient : IInterTabClient
{
public INewTabHost<Window> GetNewHost(IInterTabClient interTabClient, object partition, TabablzControl source)
{
if (source... | mit | C# |
d6568ffa469525d6e92cf688e22c5d5b7450744c | modify typo | mmd-for-unity-proj/mmd-for-unity | Editor/Inspector/InspectorBase.cs | Editor/Inspector/InspectorBase.cs | // Inspectorからインポートなどができるようになります
// 他スクリプトと競合してしまう時はコメントアウトしてください
#define USE_INSPECTOR
//----------
#if USE_INSPECTOR
using System.IO;
using System.Linq;
using UnityEditor;
using UnityEditor.Callbacks;
using UnityEngine;
namespace MMD
{
public class InspectorBase : Editor
{
[DidReloadScripts]
static v... | // Inspectorからインポートなどができるようになります
// 他スクリプトと競合してしまう時はコメントアウトしてください
#define USE_INSPECTOR
//----------
#if USE_INSPECTOR
using System.IO;
using System.Linq;
using UnityEditor;
using UnityEditor.Callbacks;
using UnityEngine;
namespace MMD
{
public class InspectorBase : Editor
{
[DidReloadScripts]
static v... | bsd-3-clause | C# |
9836d20522e720fa9d255c3636d2fc9ee2db57ea | adjust landing page to Stand-Up Timer content | PapaMufflon/StandUpTimer,PapaMufflon/StandUpTimer,PapaMufflon/StandUpTimer | StandUpTimer.Web/Views/Home/Index.cshtml | StandUpTimer.Web/Views/Home/Index.cshtml | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>Stand-Up Timer Statistics</h1>
<p class="lead">This is just a project to teach myself a bit of ASP.NET MVC. But feel free to use it anyway.</p>
</div>
<div class="row">
<div class="col-md-4">
<h2>Download app</h2>
<p>
... | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>ASP.NET</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more »</a></p>
</div>
... | mit | C# |
43c9d19b125bdeaf9d631a3aa55290c6658c9d95 | Use the same folder as the JAVA implementation | Floobits/floobits-vsp | plugin-common-cs/Constants.cs | plugin-common-cs/Constants.cs | using System;
using System.Text.RegularExpressions;
namespace Floobits.Common
{
public class Constants {
static public string baseDir = baseDirInit();
static public string shareDir = FilenameUtils.concat(baseDir, "share");
static public string version = "0.11";
static public string... | using System;
using System.Text.RegularExpressions;
namespace Floobits.Common
{
public class Constants {
static public string baseDir = FilenameUtils.concat(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "floobits");
static public string shareDir = FilenameUtils.concat(baseD... | apache-2.0 | C# |
46a9833e1ff7bed7d9c17c147ec5c5a32e94e6ce | Change default JSON serialization to CamelCase | mstrother/BmpListener | BmpListener.ConsoleExample/Program.cs | BmpListener.ConsoleExample/Program.cs | using System;
using BmpListener.Bmp;
using BmpListener.JSON;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Serialization;
namespace BmpListener.ConsoleExample
{
internal class Program
{
private static void Main()
{
JsonConvert.DefaultSettings = () =... | using System;
using BmpListener.Bmp;
using BmpListener.JSON;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace BmpListener.ConsoleExample
{
internal class Program
{
private static void Main()
{
JsonConvert.DefaultSettings = () =>
{
var s... | mit | C# |
e4d6e0def59bbbacff520c4744b1db9a6999b26d | Add an Emit method to emit text with style | directhex/xwt,iainx/xwt,lytico/xwt,mminns/xwt,akrisiun/xwt,residuum/xwt,mono/xwt,hwthomas/xwt,mminns/xwt,antmicro/xwt,sevoku/xwt,cra0zy/xwt,hamekoz/xwt,TheBrainTech/xwt,steffenWi/xwt | Xwt/Xwt.Backends/IMarkdownViewBackend.cs | Xwt/Xwt.Backends/IMarkdownViewBackend.cs | //
// IMarkdownViewBackend.cs
//
// Author:
// Jérémie Laval <jeremie.laval@xamarin.com>
//
// Copyright (c) 2012 Xamarin, Inc.
using System;
namespace Xwt.Backends
{
[Flags]
enum MarkdownInlineStyle
{
Italic,
Bold,
Monospace
}
public interface IMarkdownViewBackend : IWidgetBackend
{
object Create... | //
// IMarkdownViewBackend.cs
//
// Author:
// Jérémie Laval <jeremie.laval@xamarin.com>
//
// Copyright (c) 2012 Xamarin, Inc.
using System;
namespace Xwt.Backends
{
[Flags]
enum MarkdownInlineStyle
{
Italic,
Bold,
Monospace
}
public interface IMarkdownViewBackend : IWidgetBackend
{
object Create... | mit | C# |
9559d549b4614486934b3c157aba40e4c50e2e07 | Use Var | ms-iot/UniversalMediaEngine | samples/speechSynthesisSample/speechSynthesisSample/MainPage.xaml.cs | samples/speechSynthesisSample/speechSynthesisSample/MainPage.xaml.cs |
using Microsoft.Maker.Media.UniversalMediaEngine;
using System;
using System.Diagnostics;
using Windows.Media.SpeechSynthesis;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409
namespace speechSynthesisSa... |
using Microsoft.Maker.Media.UniversalMediaEngine;
using System;
using System.Diagnostics;
using Windows.Media.SpeechSynthesis;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409
namespace speechSynthesisSa... | mit | C# |
596efee46e38f4119c48a1f38efef5015d2dc22e | increment version number | NickStrupat/DiscogsNet | DiscogsNet/Properties/AssemblyInfo.cs | DiscogsNet/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("DiscogsNet")]
[assembly: AssemblyDescript... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("DiscogsNet")]
[assembly: AssemblyDescript... | lgpl-2.1 | C# |
a4fc7e91b171516806ce740a905ca1999be96c62 | Use Timer based Observable to generate data | WillemRB/DataGenerator | Program.cs | Program.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Reactive.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataGenerator
{
class Program
{
static void Main(string[] args)
{
var data = new Fare.... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataGenerator
{
class Program
{
static void Main(string[] args)
{
var gen = new Fare.Xeger(ConfigurationSettings.Ap... | mit | C# |
fb0e490af34f0e8e19c5853417b69ce0632963a0 | Add missing license plate | or-tools/or-tools,google/or-tools,or-tools/or-tools,or-tools/or-tools,google/or-tools,or-tools/or-tools,or-tools/or-tools,or-tools/or-tools,google/or-tools,google/or-tools,google/or-tools,google/or-tools | ortools/dotnet/CreateSigningKey/Program.cs | ortools/dotnet/CreateSigningKey/Program.cs | // Copyright 2010-2020 Google LLC
// 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 or agreed to in... | using System;
using System.IO;
using System.Security.Cryptography;
namespace CreateSigningKey
{
class Program
{
static void Main(string[] args)
{
if (args == null || args.Length == 0)
{
Console.WriteLine("Key filename not specified.");
return;
}
string p... | apache-2.0 | C# |
5d8326b7ca64125cde201d32a7872b1cc45f20d2 | Update AssemblyInfo.cs | shanewalters/qif,hazzik/qif | QifApi/Properties/AssemblyInfo.cs | QifApi/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: CLSCompliant(true)]
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembl... | using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: CLSCompliant(true)]
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembl... | mit | C# |
8e6ece27e8478e74d0a639ed6f903a4f0552698f | Add movement duplication | dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo | DynamixelServo.TestConsole/Program.cs | DynamixelServo.TestConsole/Program.cs | using System;
using System.Threading;
using DynamixelServo.Driver;
namespace DynamixelServo.TestConsole
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Starting");
using (DynamixelDriver driver = new DynamixelDriver("COM17"))
{
driver.Set... | using System;
using DynamixelServo.Driver;
namespace DynamixelServo.TestConsole
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Starting");
using (DynamixelDriver driver = new DynamixelDriver("COM17"))
{
byte[] servos = driver.Search(1, 1... | apache-2.0 | C# |
10058bed7e1b9277fd7cc89a943cde24d201c320 | Update server side API for single multiple answer question | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRespository
{
private readonly TrappistDbContext _dbContex... | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRespository
{
private readonly TrappistDbContext _dbContex... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.