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 |
|---|---|---|---|---|---|---|---|---|
b6a1e5eca322d903017f7b79483d5f66b24bebb3 | Add information to AssemblyInfo | Xcodo/atom-launcher | AtomLauncher/Properties/AssemblyInfo.cs | AtomLauncher/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("At... | 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("At... | mit | C# |
4cc9e37df0153f8746607aea2ff0c03883fa3857 | Reset kind enum broken (#2) | svrooij/DirectAdmin | DirectAdmin.Client/ResetPasswordKind.cs | DirectAdmin.Client/ResetPasswordKind.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DirectAdmin.Client
{
/// <summary>
/// Use this to specify what kind of password need to be reset.
/// </summary>
[Flags]
public enum ResetPasswordKind
{
//... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DirectAdmin.Client
{
/// <summary>
/// Use this to specify what kind of password need to be reset.
/// </summary>
[Flags]
public enum ResetPasswordKind
{
//... | mit | C# |
ce424b6ece604f8ea65d754d00051bc1ddb2971d | Fix wrong target | c0nnex/7dtdmanager | 7DTDManager/7DTDManager/Commands/cmdClearCooldown.cs | 7DTDManager/7DTDManager/Commands/cmdClearCooldown.cs | using _7DTDManager.Interfaces;
using _7DTDManager.Interfaces.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _7DTDManager.Commands
{
public class cmdClearCooldown : AdminCommandBase
{
public cmdClearCooldown()
... | using _7DTDManager.Interfaces;
using _7DTDManager.Interfaces.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _7DTDManager.Commands
{
public class cmdClearCooldown : AdminCommandBase
{
public cmdClearCooldown()
... | bsd-3-clause | C# |
41b79a707967bb189c9d2a2833be3d61555c114b | Upgrade version | mbwtepaske/Community | Community.Spatial/Properties/AssemblyInfo.Version.cs | Community.Spatial/Properties/AssemblyInfo.Version.cs | using System.Reflection;
[assembly: AssemblyVersion("0.1.0.7454")]
[assembly: AssemblyFileVersion("0.1.0.7454")]
| using System.Reflection;
[assembly: AssemblyVersion("0.1.0.7019")]
[assembly: AssemblyFileVersion("0.1.0.7019")]
| mit | C# |
926bc5d5d808bb1bfc8d548e2b3ea375bce69e0b | Use strings for IDs (for flexibility) | IWBWbiz/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner | MultiMiner.Win/Notifications/NotificationsControl.cs | MultiMiner.Win/Notifications/NotificationsControl.cs | using System;
using System.Windows.Forms;
namespace MultiMiner.Win.Notifications
{
public partial class NotificationsControl : UserControl
{
//events
//delegate declarations
public delegate void NotificationsChangedHandler(object sender);
//event declarations
p... | using System;
using System.Windows.Forms;
namespace MultiMiner.Win.Notifications
{
public partial class NotificationsControl : UserControl
{
//events
//delegate declarations
public delegate void NotificationsChangedHandler(object sender);
//event declarations
p... | mit | C# |
4b97ee208e5e32124a95ea5e28042c7234159ee4 | Update assembly version | LaylaLiu/lab | ODataConnectedService/src/Properties/AssemblyInfo.cs | ODataConnectedService/src/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("Contoso.Samples.ConnectedServices.UITempl... | 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("Contoso.Samples.ConnectedServices.UITempl... | mit | C# |
d4b7835a4c60ab05610dae794203b265f6c49f7f | fix race condition | rob-somerville/serilog-sinks-http | test/Serilog.Sinks.Http.Tests/Sinks/Http/HttpSinkTest.cs | test/Serilog.Sinks.Http.Tests/Sinks/Http/HttpSinkTest.cs | using System;
using System.Net.Http;
using Moq;
using Serilog.Sinks.Http.Tests.Support;
using Xunit;
namespace Serilog.Sinks.Http.Tests.Sinks.Http
{
public class HttpSinkTest
{
private readonly Mock<IHttpClient> client;
private readonly string requestUri;
private readonly HttpSink sink... | using System.Net.Http;
using Moq;
using Serilog.Sinks.Http.Tests.Support;
using Xunit;
namespace Serilog.Sinks.Http.Tests.Sinks.Http
{
public class HttpSinkTest
{
private readonly Mock<IHttpClient> client;
private readonly string requestUri;
private readonly HttpSink sink;
pub... | apache-2.0 | C# |
174f7525b7108e67838f631b714ff804648f6fce | add BackgroundColor to ImageSharpConverter | signumsoftware/framework,signumsoftware/framework | Signum.Engine.Extensions/Word/ImageSharpConverter.cs | Signum.Engine.Extensions/Word/ImageSharpConverter.cs | using DocumentFormat.OpenXml.Packaging;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Formats;
using SixLabors.ImageSharp.Processing;
using System.IO;
#pragma warning disable CA1416 // Validate platform compatibility
namespace Signum.Engine.Word;
public class ImageSharpConverter : IImageConverter<Im... | using DocumentFormat.OpenXml.Packaging;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Formats;
using SixLabors.ImageSharp.Processing;
using System.IO;
#pragma warning disable CA1416 // Validate platform compatibility
namespace Signum.Engine.Word;
public class ImageSharpConverter : IImageConverter<Im... | mit | C# |
e0c47c17c9490e4a4fdbedf052700814c4aaf409 | Fix typo | hubuk/CodeContracts,danielcweber/CodeContracts,Microsoft/CodeContracts,hubuk/CodeContracts,hubuk/CodeContracts,Microsoft/CodeContracts,Microsoft/CodeContracts,danielcweber/CodeContracts,huoxudong125/CodeContracts,ndykman/CodeContracts,huoxudong125/CodeContracts,ndykman/CodeContracts,SergeyTeplyakov/CodeContracts,hubuk/... | System.Compiler/PDBreader/PdbDebugException.cs | System.Compiler/PDBreader/PdbDebugException.cs | // 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 restriction, including wit... | // 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 restriction, including wit... | mit | C# |
00728741f1bef2dcdaccb0114f987d4f7d6cfefd | Add option for poof sound effect | Barleytree/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare | Assets/Microgames/KagerouCut/Scripts/FurBallController.cs | Assets/Microgames/KagerouCut/Scripts/FurBallController.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FurBallController : MonoBehaviour {
[SerializeField]
GameObject sprite;
public float speed = 0.3f;
public float particleRate = 0.1f;
public bool shouldExplode = false;
public AudioClip poofSound;
p... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FurBallController : MonoBehaviour {
[SerializeField]
GameObject sprite;
public float speed = 0.3f;
public float particleRate = 0.1f;
public bool shouldExplode = false;
private float particleTimer = 0.0... | mit | C# |
1383bdd1e86adc9154aad631d3b67e523a834ad5 | Remove unused member variable | tgstation/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools | src/Tgstation.Server.Client/Components/InstanceClient.cs | src/Tgstation.Server.Client/Components/InstanceClient.cs | using System;
using Tgstation.Server.Api.Models;
namespace Tgstation.Server.Client.Components
{
/// <inheritdoc />
sealed class InstanceClient : IInstanceClient
{
/// <inheritdoc />
public Instance Metadata { get; }
/// <inheritdoc />
public IByondClient Byond { get; }
/// <inheritdoc />
public IRepo... | using System;
using Tgstation.Server.Api.Models;
namespace Tgstation.Server.Client.Components
{
/// <inheritdoc />
sealed class InstanceClient : IInstanceClient
{
/// <inheritdoc />
public Instance Metadata { get; }
/// <inheritdoc />
public IByondClient Byond { get; }
/// <inheritdoc />
public IRepo... | agpl-3.0 | C# |
4d758c3a01022db6973ad32ff0417997951005dd | fix test data | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | rider/testData/integrationTests/PlayModeTest/checkPlayModeLogs/source/NewBehaviourScript.cs | rider/testData/integrationTests/PlayModeTest/checkPlayModeLogs/source/NewBehaviourScript.cs | using UnityEngine;
using System.Threading;
public class NewBehaviourScript : MonoBehaviour
{
void Start() {
Debug.Log("Start");
new Thread(() => { Debug.Log("StartFromBackgroundThread"); }).Start();
}
void Update()
{
Debug.Log("Update");
new Thread(() => { Debug.Log("Up... | using UnityEngine;
public class NewBehaviourScript : MonoBehaviour
{
void Start() {
Debug.Log("Start");
}
void Update()
{
Debug.Log("Update");
}
void OnApplicationQuit()
{
Debug.Log("Quit");
}
}
| apache-2.0 | C# |
1b0a1dd4108285dbec840ad8cf9a9ef1b014d066 | Add missing licence header | DrabWeb/osu,smoogipoo/osu,johnneijzen/osu,peppy/osu,ZLima12/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,Damnae/osu,UselessToucan/osu,2yangk23/osu,EVAST9919/osu,UselessToucan/osu,smoogipoo/osu,DrabWeb/osu,naoey/osu,peppy/osu,ZLima12/osu,peppy/osu-new,NeoAdonis/osu,johnneijzen/osu,Nabile-Rahmani/osu,Us... | osu.Game.Rulesets.Osu/Replays/OsuReplayInputHandler.cs | osu.Game.Rulesets.Osu/Replays/OsuReplayInputHandler.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using osu.Framework.Input;
using osu.Game.Rulesets.Replays;
using OpenTK;
namespace osu.Game.Rulesets.Osu.Replays
{
pub... | using System.Collections.Generic;
using osu.Framework.Input;
using osu.Game.Rulesets.Replays;
using OpenTK;
namespace osu.Game.Rulesets.Osu.Replays
{
public class OsuReplayInputHandler : FramedReplayInputHandler
{
public OsuReplayInputHandler(Replay replay)
: base(replay)
... | mit | C# |
ab48b1531f94d6db13814811ec35d69896970a6f | fix ragnarok duration | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TCC.Core/ClassSpecific/ValkyrieAbnormalityTracker.cs | TCC.Core/ClassSpecific/ValkyrieAbnormalityTracker.cs | using TCC.Parsing.Messages;
using TCC.ViewModels;
namespace TCC.ClassSpecific
{
public class ValkyrieAbnormalityTracker : ClassAbnormalityTracker
{
private const uint RagnarokId = 10155130;
public override void CheckAbnormality(S_ABNORMALITY_BEGIN p)
{
if (p.TargetId != Se... | using TCC.Parsing.Messages;
using TCC.ViewModels;
namespace TCC.ClassSpecific
{
public class ValkyrieAbnormalityTracker : ClassAbnormalityTracker
{
private const uint RagnarokId = 10155130;
public override void CheckAbnormality(S_ABNORMALITY_BEGIN p)
{
if (p.TargetId != Se... | mit | C# |
c7c36fa6cd913b9ca84840555244c2d67f5992a0 | Remove WA1202 | DotNetAnalyzers/WpfAnalyzers,JohanLarsson/WpfAnalyzers | WpfAnalyzers.Analyzers/DependencyProperties/WA1202DefaultValueTypeMustMatchRegisteredType.cs | WpfAnalyzers.Analyzers/DependencyProperties/WA1202DefaultValueTypeMustMatchRegisteredType.cs | //namespace WpfAnalyzers.DependencyProperties
//{
// using System;
// using System.Collections.Immutable;
// using Microsoft.CodeAnalysis;
// using Microsoft.CodeAnalysis.CSharp;
// using Microsoft.CodeAnalysis.CSharp.Syntax;
// using Microsoft.CodeAnalysis.Diagnostics;
// [DiagnosticAnalyzer(Lan... | namespace WpfAnalyzers.DependencyProperties
{
using System;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
[DiagnosticAnalyzer(LanguageNames.CSharp)... | mit | C# |
6c9e6296be94c2d54173a4f9ea2fdc5404698ab3 | Update Viktor.cs | FireBuddy/adevade | AdEvade/AdEvade/Data/Spells/SpecialSpells/Viktor.cs | AdEvade/AdEvade/Data/Spells/SpecialSpells/Viktor.cs | using System;
using EloBuddy;
using EloBuddy.SDK;
namespace AdEvade.Data.Spells.SpecialSpells
{
class Viktor : IChampionPlugin
{
static Viktor()
{
}
public const string ChampionName = "Viktor";
public string GetChampionName()
{
return ChampionName;
... | using System;
using EloBuddy;
using EloBuddy.SDK;
namespace AdEvade.Data.Spells.SpecialSpells
{
class Viktor : IChampionPlugin
{
static Viktor()
{
}
public const string ChampionName = "Viktor";
public string GetChampionName()
{
return ChampionName;
... | mit | C# |
34a380c589ef1bee1ad239c67980135b725f3ee7 | Fix error with liquid propegation through air | blha303/TrueCraft,SirCmpwn/TrueCraft,illblew/TrueCraft,christopherbauer/TrueCraft,christopherbauer/TrueCraft,Mitch528/TrueCraft,robinkanters/TrueCraft,thdtjsdn/TrueCraft,manio143/TrueCraft,Mitch528/TrueCraft,creatorfromhell/TrueCraft,christopherbauer/TrueCraft,robinkanters/TrueCraft,SirCmpwn/TrueCraft,illblew/TrueCraft... | TrueCraft.Core/Logic/Blocks/AirBlock.cs | TrueCraft.Core/Logic/Blocks/AirBlock.cs | using System;
using TrueCraft.API;
using TrueCraft.API.Logic;
namespace TrueCraft.Core.Logic.Blocks
{
public class AirBlock : BlockProvider
{
public static readonly byte BlockID = 0x00;
public override byte ID { get { return 0x00; } }
public override double BlastResistance { ... | using System;
using TrueCraft.API;
using TrueCraft.API.Logic;
namespace TrueCraft.Core.Logic.Blocks
{
public class AirBlock : BlockProvider
{
public static readonly byte BlockID = 0x00;
public override byte ID { get { return 0x00; } }
public override double BlastResistance { ... | mit | C# |
f97c70510a921f8deca4c97f4318a269df82c20e | fix for EF6, no idea why I had to do this | michalguzek/Comessa6,michalguzek/Comessa6,michalguzek/Comessa6 | Comessa6/Comessa6/Controllers/PaymentsController.cs | Comessa6/Comessa6/Controllers/PaymentsController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Comessa6.ViewModels;
using System.Threading.Tasks;
using Comessa6.Models;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
namespace Comessa6.Controllers
{
public class PaymentsControll... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Comessa6.ViewModels;
using System.Threading.Tasks;
using Comessa6.Models;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
namespace Comessa6.Controllers
{
public class PaymentsControll... | mit | C# |
8613773835e671b9b674b7651f860f0366986857 | Fix exception for empty service alerts list (#46) | RikkiGibson/Corvallis-Bus-Server,RikkiGibson/Corvallis-Bus-Server | CorvallisBus.Core/WebClients/ServiceAlertsClient.cs | CorvallisBus.Core/WebClients/ServiceAlertsClient.cs | using System;
using System.Linq;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using CorvallisBus.Core.Models;
using HtmlAgilityPack;
namespace CorvallisBus.Core.WebClients
{
public static class ServiceAlertsClient
{
static readonly Uri FEED_URL = new Uri("http... | using System;
using System.Linq;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using CorvallisBus.Core.Models;
using HtmlAgilityPack;
namespace CorvallisBus.Core.WebClients
{
public static class ServiceAlertsClient
{
static readonly Uri FEED_URL = new Uri("http... | mit | C# |
52724d503d5024d5d7b18462b82a8229e0cb78fa | test for faced ness | thecodeite/SolitaireSolution | Tests/UnitTests/CardTests.cs | Tests/UnitTests/CardTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
using NUnit.Framework;
using Solitaire.Models;
namespace Tests.UnitTests
{
[TestFixture]
class CardTests
{
[Test]
public void back_of_c... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
using NUnit.Framework;
using Solitaire.Models;
namespace Tests.UnitTests
{
[TestFixture]
class CardTests
{
[Test]
public void back_of_c... | mit | C# |
e29319e0f2b25f88c83d2c5eb9d6c4cd63a24480 | add RequiredMembers | autumn009/TanoCSharpSamples | Chap38/RequiredMembers/RequiredMembers/Program.cs | Chap38/RequiredMembers/RequiredMembers/Program.cs | Person[] persons =
{
new Person(){ Id="aaa", Name="Alice" },
new Person(){ Id="bbb" }
};
sub("aaa");
sub("bbb");
void sub(string key)
{
var person = persons.First(x => x.Id == key);
Console.WriteLine($"Id={person.Id}");
Console.WriteLine($"Name={person.Name ?? "unknwon"}");
}
public class Person... | // See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");
| mit | C# |
2bc3c4faba0621814ef438118f7e1c3d233d5b0c | Make controller public to access outside module classes | roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University | R7.University.Launchpad/components/LaunchpadModuleBase.cs | R7.University.Launchpad/components/LaunchpadModuleBase.cs | //
// LaunchpadModuleBase.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2014
//
// 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 witho... | //
// LaunchpadModuleBase.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2014
//
// 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 witho... | agpl-3.0 | C# |
cbe87e08b67261b9c2311a699ab65ccdca3c9510 | Remove deprecated service registration. | peeedge/mobile,eatskolnikov/mobile,eatskolnikov/mobile,masterrr/mobile,masterrr/mobile,peeedge/mobile,ZhangLeiCharles/mobile,eatskolnikov/mobile,ZhangLeiCharles/mobile | Tests/Test.cs | Tests/Test.cs | using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
using Toggl.Phoebe.Data;
using XPlatUtils;
namespace Toggl.Phoebe.Tests
{
public abstract class Test
{
private string databasePath;
[TestFixtureSetUp]
public virtual void Init ()... | using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
using Toggl.Phoebe.Data;
using XPlatUtils;
namespace Toggl.Phoebe.Tests
{
public abstract class Test
{
private string databasePath;
[TestFixtureSetUp]
public virtual void Init ()... | bsd-3-clause | C# |
09089a31260122e1385aa58acbdcbc6bb781731d | Fix potential nullref | peppy/osu,UselessToucan/osu,EVAST9919/osu,EVAST9919/osu,Damnae/osu,ZLima12/osu,ppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,DrabWeb/osu,NeoAdonis/osu,naoey/osu,ppy/osu,naoey/osu,Frontear/osuKyzer,Drezi126/osu,2yangk23/osu,johnneijzen/osu,DrabWeb/osu,DrabWeb/osu,naoey/osu,smoogipoo/osu,2yangk23/... | osu.Game/Input/Bindings/GlobalKeyBindingInputManager.cs | osu.Game/Input/Bindings/GlobalKeyBindingInputManager.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK.Input;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using osu.Framework.Graphics;
using osu.Framework.Input.Bin... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK.Input;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using osu.Framework.Graphics;
using osu.Framework.Input.Bin... | mit | C# |
9846b2bd525fde68ae6c8650a15b46838babf2c3 | Fix issue #261 | bobqian1130/PushSharp,kouweizhong/PushSharp,richardvaldivieso/PushSharp,codesharpdev/PushSharp,arleyandrada/PushSharp,volkd/PushSharp,rucila/PushSharp,richardvaldivieso/PushSharp,sumalla/PushSharp,profporridge/PushSharp,fhchina/PushSharp,sskodje/PushSharp,has-taiar/PushSharp.Web,agran/PushSharp,ingljo/PushSharp,ingljo/... | PushSharp.Blackberry/BlackberryPushChannelSettings.cs | PushSharp.Blackberry/BlackberryPushChannelSettings.cs | using PushSharp.Core;
namespace PushSharp.Blackberry
{
public class BlackberryPushChannelSettings : IPushChannelSettings
{
public string ApplicationId { get; set; }
public string Password { get; set; }
public string Boundary { get { return "ASDFaslkdfjasfaSfdasfhpoiurwqrwm"; } }
private cons... | using PushSharp.Core;
namespace PushSharp.Blackberry
{
public class BlackberryPushChannelSettings : IPushChannelSettings
{
public string ApplicationId { get; set; }
public string Password { get; set; }
public string Boundary { get { return "ASDFaslkdfjasfaSfdasfhpoiurwqrwm"; } }
private cons... | apache-2.0 | C# |
e387d0b2230bd4ad26b73cd4b8e0173babc50f1a | Update Forsendelse.cs | difi/sikker-digital-post-klient-dotnet | SikkerDigitalPost.Net.Domene/Entiteter/Forsendelse.cs | SikkerDigitalPost.Net.Domene/Entiteter/Forsendelse.cs | using System;
namespace SikkerDigitalPost.Net.Domene.Entiteter
{
public class Forsendelse
{
/// <summary>
/// Informasjon som brukes av postkasseleverandør for å behandle den digitale posten.
/// </summary>
public DigitalPost DigitalPost { get; set; }
/// <summ... | using System;
namespace SikkerDigitalPost.Net.Domene.Entiteter
{
public class Forsendelse
{
/// <summary>
/// Informasjon som brukes av postkasseleverandør for å behandle den digitale posten.
/// </summary>
public DigitalPost DigitalPost { get; set; }
/// <summ... | apache-2.0 | C# |
0ea3fc780752f7ffa2cc7fa765f1b90a0606905d | put dev tools to othe right group | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Shell/MainMenu/ToolsMainMenuItems.cs | WalletWasabi.Gui/Shell/MainMenu/ToolsMainMenuItems.cs | using AvalonStudio.MainMenu;
using AvalonStudio.Menus;
using System;
using System.Collections.Generic;
using System.Composition;
using System.Text;
namespace WalletWasabi.Gui.Shell.MainMenu
{
internal class ToolsMainMenuItems
{
private IMenuItemFactory MenuItemFactory { get; }
[ImportingConstructor]
public To... | using AvalonStudio.MainMenu;
using AvalonStudio.Menus;
using System;
using System.Collections.Generic;
using System.Composition;
using System.Text;
namespace WalletWasabi.Gui.Shell.MainMenu
{
internal class ToolsMainMenuItems
{
private IMenuItemFactory MenuItemFactory { get; }
[ImportingConstructor]
public To... | mit | C# |
b1228304da8bd11c42993f395c78b23501286f36 | Add a test for multiple directory watchers | DustinCampbell/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn | tests/OmniSharp.Roslyn.CSharp.Tests/FilesChangedFacts.cs | tests/OmniSharp.Roslyn.CSharp.Tests/FilesChangedFacts.cs | using System.IO;
using System.Linq;
using System.Threading.Tasks;
using OmniSharp.FileWatching;
using OmniSharp.Models.FilesChanged;
using OmniSharp.Roslyn.CSharp.Services.Files;
using TestUtility;
using Xunit;
using Xunit.Abstractions;
namespace OmniSharp.Roslyn.CSharp.Tests
{
public class OnFilesChangedFacts : ... | using OmniSharp.FileWatching;
using OmniSharp.Models.FilesChanged;
using OmniSharp.Roslyn.CSharp.Services.Files;
using TestUtility;
using Xunit;
using Xunit.Abstractions;
namespace OmniSharp.Roslyn.CSharp.Tests
{
public class OnFilesChangedFacts : AbstractSingleRequestHandlerTestFixture<OnFilesChangedService>
... | mit | C# |
c8c0aafcb1e3b43ab16fa2f62b7d024496923011 | Simplify Login() action - no explicit return necessary | GoogleCloudPlatform/getting-started-dotnet,GoogleCloudPlatform/getting-started-dotnet,GoogleCloudPlatform/getting-started-dotnet | aspnet/4-auth/Controllers/SessionController.cs | aspnet/4-auth/Controllers/SessionController.cs | // Copyright(c) 2016 Google 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 applicable law or agree... | // Copyright(c) 2016 Google 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 applicable law or agree... | apache-2.0 | C# |
a5584802f31007da2992dae445ffe69c36966ffd | Update Globals.cs | Selz/SiftScienceNet | src/SiftScienceNet/Globals.cs | src/SiftScienceNet/Globals.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SiftScienceNet
{
public class Globals
{
public const string Authority = "https://api.siftscience.com";
public const string EventsEndpoint = Authority + "/v204/events";
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SiftScienceNet
{
public class Globals
{
public const string Authority = "https://api.siftscience.com";
public const string EventsEndpoint = Authority + "/v203/events";
... | mit | C# |
bc111a37f9980ff8c37ae783b184263f572cbafa | Update Music.cs | wanddy/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,wanddy/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,down4u/WeiXinMPSDK,down4u/WeiXinMPSDK,JeffreySu/WxOpen,down4u/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,JeffreySu/WxOpen,JeffreySu/WeiXinMPSDK,lishewen/WeiXinMPSDK,wanddy/WeiXinMPSDK,lishewen/WeiXinMPSDK,m... | Senparc.Weixin.MP/Senparc.Weixin.MP/Entities/Response/Music.cs | Senparc.Weixin.MP/Senparc.Weixin.MP/Entities/Response/Music.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Senparc.Weixin.MP.Entities
{
public class Music
{
public string Title { get; set; }
public string Description { get; set; }
public string MusicUrl { get; set; }
public string HQMusic... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Senparc.Weixin.MP.Entities
{
public class Music
{
public string Title { get; set; }
public string Description { get; set; }
public string MusicUrl { get; set; }
public string HQMusic... | apache-2.0 | C# |
77b8a843a4343b7f34ace1af2fec5bccf89a2796 | add more UrlSegment tests | NebulousConcept/b2-csharp-client | b2-csharp-client-test/B2.Client/UrlSegmentTest.cs | b2-csharp-client-test/B2.Client/UrlSegmentTest.cs | using B2.Client.Rest;
using B2.Client.Rest.Request.Param;
using NUnit.Framework;
namespace B2.Client.Test
{
[TestFixture]
public class UrlSegmentTest
{
[Test]
public void TestLiteralSegmentDoesNotTransform()
{
const string paramName = "paramName";
const st... | using B2.Client.Rest;
using B2.Client.Rest.Request.Param;
using NUnit.Framework;
namespace B2.Client.Test
{
[TestFixture]
public class UrlSegmentTest
{
[Test]
public void TestLiteralSegmentDoesNotTransform()
{
const string paramName = "paramName";
const st... | mit | C# |
44b43c1fc50525d5c0c22e1ed9346892f2905d5f | use ReadNil | pocketberserker/MessagePack.FSharpExtensions | src/MessagePack.FSharpExtensions/Formatters/UnitFormatter.cs | src/MessagePack.FSharpExtensions/Formatters/UnitFormatter.cs | using System;
using MessagePack.Formatters;
using Microsoft.FSharp.Core;
namespace MessagePack.FSharp.Formatters
{
public class UnitFormatter : IMessagePackFormatter<Unit>
{
public UnitFormatter() { }
public int Serialize(ref byte[] bytes, int offset, Unit value, IFormatterResolver formatterR... | using System;
using MessagePack.Formatters;
using Microsoft.FSharp.Core;
namespace MessagePack.FSharp.Formatters
{
public class UnitFormatter : IMessagePackFormatter<Unit>
{
public UnitFormatter() { }
public int Serialize(ref byte[] bytes, int offset, Unit value, IFormatterResolver formatterR... | mit | C# |
1e7de9baa224e6ccc8b632e16ab470981398991f | Update XPathGeometryTypeConverter.cs | wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D | src/Serializer.Xaml/Converters/XPathGeometryTypeConverter.cs | src/Serializer.Xaml/Converters/XPathGeometryTypeConverter.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.Globalization;
#if NETSTANDARD1_3
using System.ComponentModel;
#else
using Portable.Xaml.ComponentModel;
#endif
using Core2D.Path;
using... | // 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;
#if NETSTANDARD1_3
using System.ComponentModel;
#else
using Portable.Xaml.ComponentModel;
#endif
using Core2D.Path;
using... | mit | C# |
0169f07c75ac66bcd45a5d2e7e0a0775ef401bdd | Update nuget package | KKings/Sitecore.ContentSearch.Fluent | src/Sitecore.ContentSearch.Fluent/Properties/AssemblyInfo.cs | src/Sitecore.ContentSearch.Fluent/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("Si... | 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("Si... | mit | C# |
a9c4bf331b69560dce13f9052841fdcccebf5458 | Make text buffer read-only | terrajobst/nquery-vnext | NQueryViewer/EditorIntegration/NQuerySyntaxTreeManager.cs | NQueryViewer/EditorIntegration/NQuerySyntaxTreeManager.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.Text;
using NQuery.Language;
namespace NQueryViewer.EditorIntegration
{
internal sealed class NQuerySyntaxTreeManager : INQuerySyntaxTreeManager
{
private readonly ITextBuffer _textBuffer;
private... | using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.Text;
using NQuery.Language;
namespace NQueryViewer.EditorIntegration
{
internal sealed class NQuerySyntaxTreeManager : INQuerySyntaxTreeManager
{
private ITextBuffer _textBuffer;
private SyntaxTr... | mit | C# |
d811986292dd0f22cb4276ae4ac72b2bd1e576b4 | fix issue with loading media content from a group | codehollow/FeedReader | FeedReader/Feeds/MediaRSS/MediaGroup.cs | FeedReader/Feeds/MediaRSS/MediaGroup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
namespace CodeHollow.FeedReader.Feeds.MediaRSS
{
/// <summary>
/// A collection of media that are effectively the same content, yet different representations. For isntance: the same song recorded in b... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
namespace CodeHollow.FeedReader.Feeds.MediaRSS
{
/// <summary>
/// A collection of media that are effectively the same content, yet different representations. For isntance: the same song recorded in b... | mit | C# |
d322b7ebfd98468258baf25e4c6257da28502e52 | remove unnecessary usings | Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training | src/AtomicChessPuzzles/Controllers/ReviewController.cs | src/AtomicChessPuzzles/Controllers/ReviewController.cs | using AtomicChessPuzzles.DbRepositories;
using AtomicChessPuzzles.Models;
using Microsoft.AspNet.Mvc;
using System.Collections.Generic;
namespace AtomicChessPuzzles.Controllers
{
public class ReviewController : Controller
{
IPuzzleRepository puzzleRepository;
public ReviewController(IPuzzleRep... | using AtomicChessPuzzles.DbRepositories;
using AtomicChessPuzzles.MemoryRepositories;
using AtomicChessPuzzles.Models;
using ChessDotNet;
using ChessDotNet.Variants.Atomic;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
usin... | agpl-3.0 | C# |
e1a3ddc4273ed4cd42e6026dad2e9fdb5877c546 | add jittergridsampler | brendan-rius/raytracer-epitech | raytracer/raytracer/samplers/GridSampler.cs | raytracer/raytracer/samplers/GridSampler.cs | using System;
using System.Collections.Generic;
namespace raytracer.samplers
{
/// <summary>
/// A grid sampler generate one ray for each "pixel" on the screen. It is the simplest
/// sampler, but it can lead to aliasing.
/// A grid sampler have to know the size of the screen to be used
... | using System.Collections.Generic;
namespace raytracer.samplers
{
/// <summary>
/// A grid sampler generate one ray for each "pixel" on the screen. It is the simplest
/// sampler, but it can lead to aliasing.
/// A grid sampler have to know the size of the screen to be used
/// <see... | mit | C# |
99f17d4b353e83a34e869b82825cb01941dbc445 | Make data + metadata proper JSON for postgres | damianh/SqlStreamStore,danbarua/Cedar.EventStore,damianh/Cedar.EventStore,SQLStreamStore/SQLStreamStore,SQLStreamStore/SQLStreamStore | src/Cedar.EventStore.Tests/EventStoreAcceptanceTests.cs | src/Cedar.EventStore.Tests/EventStoreAcceptanceTests.cs | namespace Cedar.EventStore
{
using System;
using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using Xunit;
using Xunit.Abstractions;
public abstract partial class EventStoreAcceptanceTests
{
private readonly ITestOutputHelper _testOutputHelper;
pro... | namespace Cedar.EventStore
{
using System;
using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using Xunit;
using Xunit.Abstractions;
public abstract partial class EventStoreAcceptanceTests
{
private readonly ITestOutputHelper _testOutputHelper;
pro... | mit | C# |
33d516eecb0b11541c733de1797b9706c8c69763 | Move guest participation beatmap up to below loved | ppy/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu | osu.Game/Overlays/Profile/Sections/BeatmapsSection.cs | osu.Game/Overlays/Profile/Sections/BeatmapsSection.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.Localisation;
using osu.Game.Online.API.Requests;
using osu.Game.Overlays.Profile.Sections.Beatmaps;
using osu.Game.Resources.Localisation.Web;
name... | // 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.Localisation;
using osu.Game.Online.API.Requests;
using osu.Game.Overlays.Profile.Sections.Beatmaps;
using osu.Game.Resources.Localisation.Web;
name... | mit | C# |
4084308e1bf05a8cc35d92924675ace2da7776bf | set JsonEncodeValue to default for MultipleFileUploadEditorAttribute | volkanceylan/Serenity,dfaruque/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,dfaruque/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,WasimAhmad/Serenity,dfaruque/Serenity,dfaruque/Serenity,rolembergfil... | Serenity.Core/ComponentModel/Upload/MultipleFileUploadEditorAttribute.cs | Serenity.Core/ComponentModel/Upload/MultipleFileUploadEditorAttribute.cs | namespace Serenity.ComponentModel
{
public class MultipleFileUploadEditorAttribute : ImageUploadEditorAttribute
{
public MultipleFileUploadEditorAttribute()
: base("MultipleImageUpload")
{
AllowNonImage = true;
JsonEncodeValue = true;.
}
... | namespace Serenity.ComponentModel
{
public class MultipleFileUploadEditorAttribute : ImageUploadEditorAttribute
{
public MultipleFileUploadEditorAttribute()
: base("MultipleImageUpload")
{
AllowNonImage = true;
}
}
} | mit | C# |
66c95b5005ef02a7e2a9fc6d8cea8cd56296b99d | Allow to run build even if git repo informations are not available | Abc-Arbitrage/Zebus.Persistence,Abc-Arbitrage/Zebus | build/scripts/utilities.cake | build/scripts/utilities.cake | #tool "nuget:?package=GitVersion.CommandLine"
#addin "Cake.Yaml"
public class ContextInfo
{
public string NugetVersion { get; set; }
public string AssemblyVersion { get; set; }
public GitVersion Git { get; set; }
public string BuildVersion
{
get { return NugetVersion + "-" + Git.Sha; }
... | #tool "nuget:?package=GitVersion.CommandLine"
#addin "Cake.Yaml"
public class ContextInfo
{
public string NugetVersion { get; set; }
public string AssemblyVersion { get; set; }
public GitVersion Git { get; set; }
public string BuildVersion
{
get { return NugetVersion + "-" + Git.Sha; }
... | mit | C# |
3405dc8d484442867940043f724807aa4ef4a652 | Switch to version 1.3.7 | biarne-a/Zebus,AtwooTM/Zebus,Abc-Arbitrage/Zebus | src/SharedVersionInfo.cs | src/SharedVersionInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("1.3.7")]
[assembly: AssemblyFileVersion("1.3.7")]
[assembly: AssemblyInformationalVersion("1.3.7")]
| using System.Reflection;
[assembly: AssemblyVersion("1.3.6")]
[assembly: AssemblyFileVersion("1.3.6")]
[assembly: AssemblyInformationalVersion("1.3.6")]
| mit | C# |
6f577972e2f78c6e6434ba31d44bc87489200d77 | include source-generated documents in inheritance-margin call | mavasani/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,CyrusNajmabadi/roslyn,bartdesmet/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,mavasani/roslyn,jasonmalinowski/ro... | src/Workspaces/Remote/ServiceHub/Services/InheritanceMargin/RemoteInheritanceMarginService.cs | src/Workspaces/Remote/ServiceHub/Services/InheritanceMargin/RemoteInheritanceMarginService.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.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnaly... | // 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.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnaly... | mit | C# |
038f92a732f567ebca3bc70eaa12e7869b8b8893 | Make Basket enumerable. | lukedrury/super-market-kata | engine/engine/tests/SupermarketAcceptanceTests.cs | engine/engine/tests/SupermarketAcceptanceTests.cs | using System.Collections.Generic;
using NUnit.Framework;
namespace engine.tests
{
[TestFixture]
public class SupermarketAcceptanceTests
{
[Test]
public void EmptyBasket()
{
var till = new Till();
var basket = new Basket();
var total = till.Calcu... | using NUnit.Framework;
namespace engine.tests
{
[TestFixture]
public class SupermarketAcceptanceTests
{
[Test]
public void EmptyBasket()
{
var till = new Till();
var basket = new Basket();
var total = till.CalculatePrice(basket);
va... | mit | C# |
5b437cd3b02fb65791b49f18914ea2f4b52fbc03 | Fix crash when multiple threads may exist. | Grabacr07/VirtualDesktop | source/VirtualDesktop/Internal/RawWindow.cs | source/VirtualDesktop/Internal/RawWindow.cs | using System;
using System.Windows.Interop;
using System.Windows.Threading;
using WindowsDesktop.Interop;
namespace WindowsDesktop.Internal
{
internal abstract class RawWindow
{
public string Name { get; set; }
public HwndSource Source { get; private set; }
public IntPtr Handle => this.Source?.Handle ?? Int... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Interop;
using WindowsDesktop.Interop;
namespace WindowsDesktop.Internal
{
internal abstract class RawWindow
{
public string Name { get; set; }
public HwndSource Source { get; private set; }
public IntPtr Handle => this.... | mit | C# |
95b73bf239dc80ec3464fda23bbbfcfcc5a74976 | add object-type to object-type LruCache to SimpleMapper to reduce reflection calls | mvbalaw/Mapper | src/MvbaMapper/SimpleMapper.cs | src/MvbaMapper/SimpleMapper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using CodeQuery;
using MvbaCore;
namespace MvbaMapper
{
public class SimpleMapper
{
private static readonly LruCache<string, List<KeyValuePair<string, Action<object, object>>>> FrequentMaps = new LruCache<string, L... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using CodeQuery;
using MvbaCore;
namespace MvbaMapper
{
public class SimpleMapper
{
public void Map(object source, object destination)
{
Map(source, destination, new Expression<Func<object, object>>[0]);
}
... | mit | C# |
6435db2596c464f9a258d21b45bff0427d1de3f2 | Fix running on Linux. Closes #30. | Abc-Arbitrage/ZeroLog | src/ZeroLog/Utils/HighResolutionDateTime.cs | src/ZeroLog/Utils/HighResolutionDateTime.cs | using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace ZeroLog.Utils
{
internal static class HighResolutionDateTime
{
private static readonly bool _isAvailable = CheckAvailability();
[DllImport("Kernel32.dll", CallingConvention = CallingConvention.Winapi)]
... | using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace ZeroLog.Utils
{
internal static class HighResolutionDateTime
{
private static readonly bool _isAvailable = CheckAvailability();
[DllImport("Kernel32.dll", CallingConvention = CallingConvention.Winapi)]
... | mit | C# |
096e4aa0e540ab5e9a661df5e7b2a7504dac92f5 | update BasicSliderBar design | EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,ppy/osu-framework | osu.Framework/Graphics/UserInterface/BasicSliderBar.cs | osu.Framework/Graphics/UserInterface/BasicSliderBar.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 System;
using osuTK;
using osuTK.Graphics;
using osu.Framework.Graphics.Shapes;
namespace osu.Framework.Graphics.UserInterface
{
public class BasicSliderBar<T... | // 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 System;
using osu.Framework.Extensions.Color4Extensions;
using osuTK;
using osuTK.Graphics;
using osu.Framework.Graphics.Shapes;
namespace osu.Framework.Graphics.... | mit | C# |
0a873084f88bfdfc13714878cb345dfa3781bb55 | add LanmanServer to pgina service dependencies | daviddumas/pgina,daviddumas/pgina,daviddumas/pgina,MutonUfoAI/pgina,MutonUfoAI/pgina,MutonUfoAI/pgina | pGina/src/Service/Service/ProjectInstaller.Designer.cs | pGina/src/Service/Service/ProjectInstaller.Designer.cs | namespace pGina.Service.Service
{
partial class ProjectInstaller
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summar... | namespace pGina.Service.Service
{
partial class ProjectInstaller
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summar... | bsd-3-clause | C# |
b2f7411f3aaaa0ab170c4c376a94263f6722e4d1 | Add standard demo sites setup as a test | webprofusion/Certify | src/Certify.Tests/Certify.Service.Tests.Integration/ManagedSitesTests.cs | src/Certify.Tests/Certify.Service.Tests.Integration/ManagedSitesTests.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
using Certify.Models;
using System.Collections.Generic;
namespace Certify.Service.Tests.Integration
{
[TestClass]
public class ManagedCertificateTests : ServiceTestBase
{
[TestMethod]
public asy... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
using Certify.Models;
namespace Certify.Service.Tests.Integration
{
[TestClass]
public class ManagedCertificateTests : ServiceTestBase
{
[TestMethod]
public async Task TestGetManagedCertificates... | mit | C# |
86c0560d67d1d2d2e2d91375dedd044c56a752b0 | Update CreateCohortRequest.cs | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.Types/CreateCohortRequest.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.Types/CreateCohortRequest.cs | using System;
namespace SFA.DAS.CommitmentsV2.Api.Types
{
public sealed class CreateCohortRequest
{
public string UserId { get; set; }
public NewCohort Cohort { get; set; }
public NewDraftApprenticeship DraftApprenticeship { get; set; }
public sealed class NewCohort
... | using System;
namespace SFA.DAS.CommitmentsV2.Api.Types
{
public sealed class CreateCohortRequest
{
public string UserId { get; set; }
public NewCohort Cohort { get; set; }
public NewDraftApprenticeship DraftApprenticeship { get; set; }
public sealed class NewCohort
... | mit | C# |
b8cefcb493dae0ed33175fa8325914db0c3d4549 | add default value to timestamps | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | src/FilterLists.Data/EntityTypeConfigurations/BaseEntityConfiguration.cs | src/FilterLists.Data/EntityTypeConfigurations/BaseEntityConfiguration.cs | using FilterLists.Data.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace FilterLists.Data.EntityTypeConfigurations
{
public class BaseEntityTypeConfiguration<TBase> : IEntityTypeConfiguration<TBase> where TBase : BaseEntity
{
public virtual... | using FilterLists.Data.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace FilterLists.Data.EntityTypeConfigurations
{
public class BaseEntityTypeConfiguration<TBase> : IEntityTypeConfiguration<TBase> where TBase : BaseEntity
{
public virtual... | mit | C# |
cb5a1acfeec0e24220bd298204b1536f5308b9dc | test fixed | mijay/NClone | src/NClone.Tests/ReplicationStrategies/ReplicationStrategyFactoryTest.cs | src/NClone.Tests/ReplicationStrategies/ReplicationStrategyFactoryTest.cs | using FakeItEasy;
using FakeItEasy.ExtensionSyntax.Full;
using NClone.MetadataProviders;
using NClone.ReplicationStrategies;
using NUnit.Framework;
namespace NClone.Tests.ReplicationStrategies
{
public class ReplicationStrategyFactoryTest: TestBase
{
private static ReplicationStrategyFactory StrategyW... | using FakeItEasy;
using FakeItEasy.ExtensionSyntax.Full;
using NClone.MetadataProviders;
using NClone.ReplicationStrategies;
using NUnit.Framework;
namespace NClone.Tests.ReplicationStrategies
{
public class ReplicationStrategyFactoryTest: TestBase
{
private static ReplicationStrategyFactory StrategyW... | mit | C# |
3bf70dea60ed87d447cdbe64bc03cfc843bfc7b1 | fix test to using heading block | peppy/osu-new,smoogipoo/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,ppy/osu,ppy/osu | osu.Game.Tests/Visual/Online/TestSceneWikiSidebar.cs | osu.Game.Tests/Visual/Online/TestSceneWikiSidebar.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 Markdig.Parsers;
using Markdig.Syntax;
using Markdig.Syntax.Inlines;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Containers.... | // 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 Markdig.Parsers;
using Markdig.Syntax;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Containers.Markdown;
using osu.Game.Overl... | mit | C# |
f6e4fddc003261e767f62ad068ee976f180d2776 | remove var | jefking/King.Service.ServiceBus | King.Service.ServiceBus.Tests/Integration/Wrappers/BusTopicClientTests.cs | King.Service.ServiceBus.Tests/Integration/Wrappers/BusTopicClientTests.cs | namespace King.Service.ServiceBus.Test.Integration.Wrappers
{
using global::Azure.Data.Wrappers;
using King.Service.ServiceBus.Models;
using King.Service.ServiceBus.Wrappers;
using Microsoft.Azure.ServiceBus;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using Sy... | namespace King.Service.ServiceBus.Test.Integration.Wrappers
{
using global::Azure.Data.Wrappers;
using King.Service.ServiceBus.Models;
using King.Service.ServiceBus.Wrappers;
using Microsoft.Azure.ServiceBus;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using Sy... | mit | C# |
36b7a7617aad41a1bbd6c5548d2513d8c7741f81 | use local variable | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/AddWallet/ConfirmRecoveryWordsViewModel.cs | WalletWasabi.Fluent/ViewModels/AddWallet/ConfirmRecoveryWordsViewModel.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reactive.Linq;
using System.Windows.Input;
using DynamicData;
using DynamicData.Binding;
using ReactiveUI;
using WalletWasabi.Blockchain.Keys;
using WalletWasabi.Wallets;
namespace WalletWasabi.Fluent.... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reactive.Linq;
using System.Windows.Input;
using DynamicData;
using DynamicData.Binding;
using ReactiveUI;
using WalletWasabi.Blockchain.Keys;
using WalletWasabi.Wallets;
namespace WalletWasabi.Fluent.... | mit | C# |
c65ea3d9e05f3c22ee88f7ff0b75758282d8a23d | refactor linq steps to methods | Pondidum/Stronk,Pondidum/Stronk | src/Stronk/ConfigBuilder.cs | src/Stronk/ConfigBuilder.cs | using System.Linq;
using Stronk.Policies;
using Stronk.PropertySelection;
using Stronk.SourceValueSelection;
namespace Stronk
{
public class ConfigBuilder
{
private readonly StronkOptions _options;
public ConfigBuilder(StronkOptions options)
{
_options = options;
}
public void Populate(object target,... | using System.Linq;
using Stronk.Policies;
using Stronk.PropertySelection;
using Stronk.SourceValueSelection;
using Stronk.ValueConversion;
namespace Stronk
{
public class ConfigBuilder
{
private readonly StronkOptions _options;
public ConfigBuilder(StronkOptions options)
{
_options = options;
}
publi... | lgpl-2.1 | C# |
19d99991bdd9889ce516bd0049e796d00e412046 | fix preview top padding on iOS. | patridge/MarkdownSharp.Portable | MarkdownSharp.Sample.Forms/MarkdownSharp.Sample.Forms.cs | MarkdownSharp.Sample.Forms/MarkdownSharp.Sample.Forms.cs | using System;
using Xamarin.Forms;
namespace MarkdownSharp.Sample.Forms
{
public class App : Application
{
readonly Markdown markdown = new Markdown();
string markdownHtml;
public void UpdatePreview(string rawMarkdown)
{
markdownHtml = markdown.Transform(rawMarkdown);
if (webView != null) {
webVi... | using System;
using Xamarin.Forms;
namespace MarkdownSharp.Sample.Forms
{
public class App : Application
{
readonly Markdown markdown = new Markdown();
string markdownHtml;
public void UpdatePreview(string rawMarkdown)
{
markdownHtml = markdown.Transform(rawMarkdown);
if (webView != null) {
webVi... | mit | C# |
70662670f47d4c13adac7b152631fac6be577343 | Make scheduler private fields readonly (#2054) | benaadams/corefxlab,KrzysztofCwalina/corefxlab,whoisj/corefxlab,stephentoub/corefxlab,dotnet/corefxlab,ericstj/corefxlab,ahsonkhan/corefxlab,KrzysztofCwalina/corefxlab,adamsitnik/corefxlab,tarekgh/corefxlab,dotnet/corefxlab,whoisj/corefxlab,ericstj/corefxlab,ericstj/corefxlab,ericstj/corefxlab,benaadams/corefxlab,steph... | src/System.IO.Pipelines/System/Threading/Scheduler.cs | src/System.IO.Pipelines/System/Threading/Scheduler.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace System.Threading
{
public abstract class Scheduler
{
private static readonly ThreadPoolScheduler _threadPoolScheduler = new ThreadPoolSchedule... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace System.Threading
{
public abstract class Scheduler
{
private static ThreadPoolScheduler _threadPoolScheduler = new ThreadPoolScheduler();
... | mit | C# |
22edb3e1bba3529809a3502819e3da01d2377ef5 | Disable ServicePoint on Silverlight | jskeet/google-api-dotnet-client,googleapis/google-api-dotnet-client,amnsinghl/google-api-dotnet-client,eshivakant/google-api-dotnet-client,arjunRanosys/google-api-dotnet-client,eydjey/google-api-dotnet-client,ivannaranjo/google-api-dotnet-client,hivie7510/google-api-dotnet-client,cdanielm58/google-api-dotnet-client,jsk... | Src/GoogleApis/Apis/Authentication/HttpRequestFactory.cs | Src/GoogleApis/Apis/Authentication/HttpRequestFactory.cs | /*
Copyright 2010 Google 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 applicable law or agreed to in writing, soft... | /*
Copyright 2010 Google 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 applicable law or agreed to in writing, soft... | apache-2.0 | C# |
0083003324cbf1e980240b8dde6cc73553987840 | Update AssemblyInfo. | ogaudefroy/WebFormsRouteUnitTester | WebFormsRouteUnitTester.Tests/Properties/AssemblyInfo.cs | WebFormsRouteUnitTester.Tests/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("WebFormsRouteUnitTester.Tests")]
[assembly: AssemblyDescription("WebFormsRouteUnitTester unit tests assembly")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Olivier GAUDEFROY")]
[assembly: AssemblyProd... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("WebFormsRouteUnitTester.Tests")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("WebFormsRouteUnitTester.Tests")]
[assembly: AssemblyCo... | mit | C# |
902faa90f9c61be32eb4a93555a6e2bbba283115 | Update Index.cshtml | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Anlab.Mvc/Views/Home/Index.cshtml | Anlab.Mvc/Views/Home/Index.cshtml | @{
ViewData["Title"] = "Home Page";
}
<div class="col-8">
<div class="alert alert-info">
<button type="button" class="close" data-dismiss="alert">×</button>
Update posted: August 3, 2021<br /><br />
<strong>New Methods Under Development</strong><br /><br />
Crude Fiber<br />
... | @{
ViewData["Title"] = "Home Page";
}
<div class="col-8">
<p class="lead">The UC Davis Analytical Laboratory is a core support facility of the UC Davis College of Agriculture and Environmental Sciences.</p>
<p>The laboratory is located in Hoagland Hall with a Sample Receiving area in nearby Hoagland ... | mit | C# |
756ee3b19a21ecae9cbd0b18b4267cda21216071 | Simplify EndParser | smbecker/Eto.Parse,ArsenShnurkov/Eto.Parse,ArsenShnurkov/Eto.Parse,picoe/Eto.Parse,smbecker/Eto.Parse,picoe/Eto.Parse | Eto.Parse/Parsers/EndParser.cs | Eto.Parse/Parsers/EndParser.cs | using System;
using Eto.Parse;
using System.Collections.Generic;
namespace Eto.Parse.Parsers
{
public class EndParser : Parser
{
protected EndParser(EndParser other)
: base(other)
{
}
public EndParser()
{
}
protected override ParseMatch InnerParse(ParseArgs args)
{
if (args.Scanner.IsEnd)
... | using System;
using Eto.Parse;
using System.Collections.Generic;
namespace Eto.Parse.Parsers
{
public class EndParser : Parser
{
protected EndParser(EndParser other)
: base(other)
{
}
public EndParser()
{
}
protected override ParseMatch InnerParse(ParseArgs args)
{
if (args.Scanner.IsEnd) r... | mit | C# |
73b46e85418e1789adf4656598e529c6cd5d0cd9 | sort and comment | CosmosOS/XSharp,CosmosOS/XSharp,CosmosOS/XSharp | source/XSharp.x86/OpCode.cs | source/XSharp.x86/OpCode.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace XSharp.x86
{
// http://ref.x86asm.net/coder32-abc.html
// http://ref.x86asm.net/coder32.html
// http://www.sandpile.org/
// https://en.wikipedia.org/wiki/X86_instruction_listings
//
// Mulitbyte NOPs
/... | using System;
using System.Collections.Generic;
using System.Text;
namespace XSharp.x86
{
// http://ref.x86asm.net/coder32-abc.html
// http://ref.x86asm.net/coder32.html
// http://www.sandpile.org/
// https://en.wikipedia.org/wiki/X86_instruction_listings
//
// Mulitbyte NOPs
/... | bsd-3-clause | C# |
ccac1e878ba487247540012aed72166cdecfce42 | Update ServiceCollectionExtensions.cs | Drawaes/CondenserDotNet,deanshackley/CondenserDotNet | src/CondenserDotNet.Client/ServiceCollectionExtensions.cs | src/CondenserDotNet.Client/ServiceCollectionExtensions.cs | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using CondenserDotNet.Client.Leadership;
using CondenserDotNet.Client.Services;
using Microsoft.Extensions.DependencyInjection;
namespace CondenserDotNet.Client
{
public static class ServiceCollectionExtensions
{
... | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using CondenserDotNet.Client.Leadership;
using CondenserDotNet.Client.Services;
using Microsoft.Extensions.DependencyInjection;
namespace CondenserDotNet.Client
{
public static class ServiceCollectionExtensions
{
... | mit | C# |
5f6a38cc0a194a33c7a5c7e3f39573bf8c63f6ac | Destroy bullets when they are out of bounds | ramingar/fasteroid | Assets/scripts/Bullet.cs | Assets/scripts/Bullet.cs | using UnityEngine;
using System.Collections;
public class Bullet : MonoBehaviour {
private float velocity = 35f;
// Use this for initialization
void Start ()
{
}
// Update is called once per frame
void Update ()
{
this.transform.Translate(0, Time.deltaTime * this.velocity, 0... | using UnityEngine;
using System.Collections;
public class Bullet : MonoBehaviour {
private float velocity = 35f;
// Use this for initialization
void Start ()
{
}
// Update is called once per frame
void Update ()
{
this.transform.Translate(0, Time.deltaTime * this.velocity, 0... | mit | C# |
386a939f1fedd8d144ada055178fbbd552a29309 | Fix compile error : ReadLines() is not available in Unity | tigrouind/AITD-roomviewer | Assets/Scripts/VarParser.cs | Assets/Scripts/VarParser.cs | using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
public class VarParser
{
readonly Dictionary<string, Dictionary<int, string>> sections
= new Dictionary<string, Dictionary<int, string>>();
public string GetText(string sectionName, int value)
{
Dictionary<int, string> sect... | using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
public class VarParser
{
readonly Dictionary<string, Dictionary<int, string>> sections
= new Dictionary<string, Dictionary<int, string>>();
public string GetText(string sectionName, int value)
{
Dictionary<int, string> sect... | mit | C# |
9f8c7994db5698dc37f887d5195ebf069717ba22 | change layer | JackCeparou/JackCeparouCompass | Decorators/SoundAlertDecorator.cs | Decorators/SoundAlertDecorator.cs | namespace Turbo.Plugins.Jack.Decorators
{
using System;
using System.Collections.Generic;
using Turbo.Plugins.Default;
using Turbo.Plugins.Jack.TextToSpeech;
public class SoundAlertDecorator<T> : IWorldDecorator where T : IActor
{
public bool Enabled { get; set; }
public IContr... | namespace Turbo.Plugins.Jack.Decorators
{
using System;
using System.Collections.Generic;
using Turbo.Plugins.Default;
using Turbo.Plugins.Jack.TextToSpeech;
public class SoundAlertDecorator<T> : IWorldDecorator where T : IActor
{
public bool Enabled { get; set; }
public IContr... | mit | C# |
c4940ff0d0a64bc99dabcebaf08a2631ca4aa2a9 | Remove pragma header when caching | dolly22/VersionedAssets | src/AspNetCore.VersionedAssets/VersionedAssetsClientCaching.cs | src/AspNetCore.VersionedAssets/VersionedAssetsClientCaching.cs | using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.Net.Http.Headers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AspNetCore.VersionedAssets
{
public class VersionedAssetsClientCaching
{
static reado... | using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AspNetCore.VersionedAssets
{
public class VersionedAssetsClientCaching
{
static readonly DateTime expiresNoCache = new ... | apache-2.0 | C# |
94ac823edfd106e2af5c96c55b81fdd2e2e53aa4 | Add copyright notice to new file | nkolev92/sdk,nkolev92/sdk | test/Microsoft.NET.TestFramework/CommandExtensions.cs | test/Microsoft.NET.TestFramework/CommandExtensions.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using FluentAssertions;
using Microsoft.DotNet.Cli.Utils;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
... | using FluentAssertions;
using Microsoft.DotNet.Cli.Utils;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
using Microsoft.NET.TestFramework.Assertions;
namespace Microsoft.NET.TestFramework
{
public static class CommandExtensions
{
public static... | mit | C# |
e357dd973afce7530515e1400321f64bb2f98468 | remove white spaces | DrabWeb/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,peppy/osu-framework,Tom94/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,Nabile-Rahmani/osu-framework,paparony03/osu-framework,RedNesto/osu-framework,ppy/osu-framework,default0/osu-framework,smoogipooo/osu... | osu.Framework/Graphics/Containers/SearchContainer.cs | osu.Framework/Graphics/Containers/SearchContainer.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;
using System.Collections.Generic;
using System.Linq;
namespace osu.Framework.Graphics.Containers
{
public class SearchContainer : ... | // 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;
using System.Collections.Generic;
using System.Linq;
namespace osu.Framework.Graphics.Containers
{
public class SearchContainer : ... | mit | C# |
2173f46a4678eb2c708be15ea2362030e845528e | Add missing licence header | UselessToucan/osu,ZLima12/osu,NeoAdonis/osu,ppy/osu,EVAST9919/osu,peppy/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,NeoAdonis/osu,johnneijzen/osu,smoogipoo/osu,ZLima12/osu,smoogipooo/osu,UselessToucan/osu,johnneijzen/osu,2yangk23/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,EVAST9919/osu,peppy/o... | osu.Game.Tournament.Tests/TestCaseGroupingManager.cs | osu.Game.Tournament.Tests/TestCaseGroupingManager.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Overlays.Settings;
using osu.Game.Tournament.Screens.Ladder.Components;
namespace ... | using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Overlays.Settings;
using osu.Game.Tournament.Screens.Ladder.Components;
namespace osu.Game.Tournament.Tests
{
public class TestCaseGroupingManager : LadderTestCase
{
public TestCaseGroupingManager()
{
... | mit | C# |
20df4b4c9aed12a1bb22aac2f7896f6569f01960 | Fix syntax error in TimingController | Barleytree/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare | Assets/Microgames/_Bosses/YoumuSlash/Scripts/YoumuSlashTimingController.cs | Assets/Microgames/_Bosses/YoumuSlash/Scripts/YoumuSlashTimingController.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class YoumuSlashTimingController : MonoBehaviour
{
public delegate void BeatDelegate(int beat);
public static BeatDelegate onBeat;
[SerializeField]
private YoumuSlashTimingData timingData;
[SerializeField]
p... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class YoumuSlashTimingController : MonoBehaviour
{
public delegate void BeatDelegate(int beat);
public static BeatDelegate onBeat;
[SerializeField]
private YoumuSlashTimingData timingData;
[SerializeField]
p... | mit | C# |
74f1ed2effaa0d4c3731fdfaaf99b75968f8e5e5 | Drop type constraints on EnumExtensions methods | smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework | osu.Framework/Extensions/EnumExtensions/EnumExtensions.cs | osu.Framework/Extensions/EnumExtensions/EnumExtensions.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 System;
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Utils;
namespace osu.Framework.Extensions.EnumExtensions
{
public static class... | // 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 System;
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Utils;
namespace osu.Framework.Extensions.EnumExtensions
{
public static class... | mit | C# |
6ee88179945a62be11e081f35d92dbdc3e91f97e | Improve code documentation in the OpenChain.Abstractions project | openchain/openchain | src/Openchain.Abstractions/ITransactionStore.cs | src/Openchain.Abstractions/ITransactionStore.cs | // Copyright 2015 Coinprism, 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 applicable law or agree... | // Copyright 2015 Coinprism, 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 applicable law or agree... | apache-2.0 | C# |
b05b1de99ac8b70d84aa309d32cd256bc8417acc | fix silly | paveltimofeev/UnityDictionary | UnityDictionary.cs | UnityDictionary.cs | #if UNITY_EDITOR
using UnityEditor;
#endif
using UnityEngine;
using System.Collections.Generic;
using System;
[Serializable]
public class UnityDictionary<TKey,TValue>
{
[SerializeField]
private List<TKey> _keys = new List<TKey>();
[SerializeField]
private List<TValue> _values = new List<TValue>();
private Dict... | #if UNITY_EDITOR
using UnityEditor;
#endif
using UnityEngine;
using System.Collections.Generic;
using System;
[Serializable]
public class UnityDictionary<TKey,TValue>
{
[SerializeField]
private List<TKey> _keys = new List<TKey>();
[SerializeField]
private List<TValue> _values = new List<TValue>();
private Dict... | mit | C# |
1e29744190ff2775b06d7ba083e0d9ffd8ed5def | fix issue with camera orientation | unity3d-jp/AlembicImporter,unity3d-jp/AlembicImporter,unity3d-jp/AlembicImporter | AlembicImporter/Assets/AlembicImporter/Scripts/AlembicCamera.cs | AlembicImporter/Assets/AlembicImporter/Scripts/AlembicCamera.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Reflection;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
[ExecuteInEditMode]
public class AlembicCamera : AlembicElement
{
public AbcA... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Reflection;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
[ExecuteInEditMode]
public class AlembicCamera : AlembicElement
{
public AbcA... | mit | C# |
5e76d4bfc1038fcd128a131522b0e2f6014084df | remove template max length in pos app | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer/Models/AppViewModels/UpdatePointOfSaleViewModel.cs | BTCPayServer/Models/AppViewModels/UpdatePointOfSaleViewModel.cs | using System.ComponentModel.DataAnnotations;
namespace BTCPayServer.Models.AppViewModels
{
public class UpdatePointOfSaleViewModel
{
[Required]
[MaxLength(30)]
public string Title { get; set; }
[Required]
[MaxLength(5)]
public string Currency { get; set; }
... | using System.ComponentModel.DataAnnotations;
namespace BTCPayServer.Models.AppViewModels
{
public class UpdatePointOfSaleViewModel
{
[Required]
[MaxLength(30)]
public string Title { get; set; }
[Required]
[MaxLength(5)]
public string Currency { get; set; }
... | mit | C# |
1baddb08b895044db4a5f291f41a56f04e94055c | Make PeerWithPersistenceInfo's members readonly | Abc-Arbitrage/Zebus,biarne-a/Zebus | src/Abc.Zebus/Transport/PeerWithPersistenceInfo.cs | src/Abc.Zebus/Transport/PeerWithPersistenceInfo.cs | namespace Abc.Zebus.Transport
{
public struct PeerWithPersistenceInfo
{
public readonly Peer Peer;
public readonly bool WasPersisted;
public PeerWithPersistenceInfo(Peer peer, bool wasPersisted)
{
Peer = peer;
WasPersisted = wasPersisted;
}
}... | namespace Abc.Zebus.Transport
{
public struct PeerWithPersistenceInfo
{
public Peer Peer;
public bool WasPersisted;
public PeerWithPersistenceInfo(Peer peer, bool wasPersisted)
{
Peer = peer;
WasPersisted = wasPersisted;
}
}
} | mit | C# |
969fd1f6aab6b006b4ac3e782bc6cc790e40f980 | Annotate implementations of IDiscardSymbol | reaction1989/roslyn,abock/roslyn,brettfo/roslyn,agocke/roslyn,eriawan/roslyn,dotnet/roslyn,tannergooding/roslyn,tmat/roslyn,reaction1989/roslyn,jasonmalinowski/roslyn,mavasani/roslyn,KevinRansom/roslyn,diryboy/roslyn,KirillOsenkov/roslyn,physhi/roslyn,weltkante/roslyn,tmat/roslyn,eriawan/roslyn,KevinRansom/roslyn,dotne... | src/Compilers/CSharp/Portable/Symbols/DiscardSymbol.cs | src/Compilers/CSharp/Portable/Symbols/DiscardSymbol.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.
#nullable enable
using System.Collections.Immutable;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
namespace Microsoft.CodeAnalysis.CSha... | // 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.Immutable;
using System.Diagnostics;
namespace Microsoft.CodeAnalysis.CSharp.Symbols
{
internal sealed class DiscardSymbol : Sy... | mit | C# |
69f13017e7b8fa35dff21ef4de71c1a1f2245dcc | Remove log output | LMNRY/SetProperty,bsn069/SetProperty | Editor/SetPropertyDrawer.cs | Editor/SetPropertyDrawer.cs | // Copyright (c) 2014 Luminary LLC
// Licensed under The MIT License (See LICENSE for full text)
using UnityEngine;
using UnityEditor;
using System;
using System.Collections;
using System.Reflection;
[CustomPropertyDrawer(typeof(SetPropertyAttribute))]
public class SetPropertyDrawer : PropertyDrawer
{
public overrid... | // Copyright (c) 2014 Luminary LLC
// Licensed under The MIT License (See LICENSE for full text)
using UnityEngine;
using UnityEditor;
using System;
using System.Collections;
using System.Reflection;
[CustomPropertyDrawer(typeof(SetPropertyAttribute))]
public class SetPropertyDrawer : PropertyDrawer
{
public overrid... | mit | C# |
ebb38f7eebd8fb51dec7d93162cf5d9fba64d914 | Update DirectionTransitDetails.cs | ericnewton76/gmaps-api-net | src/Google.Maps/Direction/DirectionTransitDetails.cs | src/Google.Maps/Direction/DirectionTransitDetails.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace Google.Maps.Direction
{
[JsonObject(MemberSerialization.OptIn)]
public class DirectionTransitDetails
{
[JsonProperty("arrival_stop")]
public Stop Arriva... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace Google.Maps.Direction
{
[JsonObject(MemberSerialization.OptIn)]
public class DirectionTransitDetails
{
[JsonProperty("arrival_stop")]
public Stop Arriva... | apache-2.0 | C# |
cb029209a386d596b93d531d9ba1baf69aef980d | Remove top level environment variables from default config | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNet.Hosting/WebHostConfiguration.cs | src/Microsoft.AspNet.Hosting/WebHostConfiguration.cs | // 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.Collections.Generic;
using Microsoft.Extensions.Configuration;
namespace Microsoft.AspNet.Hosting
{
public class WebHostConfiguration... | // 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.Collections.Generic;
using Microsoft.Extensions.Configuration;
namespace Microsoft.AspNet.Hosting
{
public class WebHostConfiguration... | apache-2.0 | C# |
a97afa9f4930d676e114e474e3f710c1b6a4afad | Add comment about IsExternalInit | PowerShell/PowerShellEditorServices | src/PowerShellEditorServices/Utility/IsExternalInit.cs | src/PowerShellEditorServices/Utility/IsExternalInit.cs | using System.ComponentModel;
namespace System.Runtime.CompilerServices
{
/// <summary>
/// This type must be defined to use init property accessors,
/// but is not in .NET Standard 2.0.
/// So instead we define the type in our own code.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Neve... | using System.ComponentModel;
namespace System.Runtime.CompilerServices
{
[EditorBrowsable(EditorBrowsableState.Never)]
internal class IsExternalInit{}
}
| mit | C# |
10fb57ec372d87228556061a91120aac115e81c4 | Add a just in case null check before deserialization | messagebird/csharp-rest-api | MessageBird/Resources/Resource.cs | MessageBird/Resources/Resource.cs | using System;
using MessageBird.Exceptions;
using MessageBird.Objects;
using Newtonsoft.Json;
namespace MessageBird.Resources
{
public abstract class Resource
{
public string Id
{
get
{
if (HasId)
{
return Object.Id;
... | using System;
using MessageBird.Exceptions;
using MessageBird.Objects;
using Newtonsoft.Json;
namespace MessageBird.Resources
{
public abstract class Resource
{
public string Id
{
get
{
if (HasId)
{
return Object.Id;
... | isc | C# |
691339a24e80ae47a0285cc6d71ec2900146de4e | Update AssemblyInfo.cs | YallaDotNet/Yalla.Core | src/Yalla.Core/Portable/Properties/AssemblyInfo.cs | src/Yalla.Core/Portable/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
using System;
// 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("Yalla.Core")]
[assembly: AssemblyDescript... | using System.Resources;
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.
[ass... | apache-2.0 | C# |
063434a564d39887ab0aca3b48ccc55ad95ce37d | Add Path property to IMediaFile. | ProjectBlueMonkey/BlueMonkey,ProjectBlueMonkey/BlueMonkey | client/BlueMonkey/BlueMonkey.MediaServices/IMediaFile.cs | client/BlueMonkey/BlueMonkey.MediaServices/IMediaFile.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BlueMonkey.MediaServices
{
public interface IMediaFile : IDisposable
{
/// <summary>
/// Path to file.
/// </summary>
string Path { get... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BlueMonkey.MediaServices
{
public interface IMediaFile : IDisposable
{
/// <summary>
/// Get stream if available
/// </summary>
/// <re... | mit | C# |
29f667ea37b4757ef6830e98a335b1360fcb0901 | update version for the next release. unused constant field RELEASE_DATE is removed. | poderosaproject/poderosa,poderosaproject/poderosa,ttdoda/poderosa,ttdoda/poderosa,poderosaproject/poderosa,Chandu/poderosa,Chandu/poderosa,ArsenShnurkov/poderosa,ttdoda/poderosa,ArsenShnurkov/poderosa,ArsenShnurkov/poderosa,poderosaproject/poderosa,Chandu/poderosa,ttdoda/poderosa,poderosaproject/poderosa | Plugin/VersionInfo.cs | Plugin/VersionInfo.cs | /*
* Copyright 2004,2006 The Poderosa Project.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* $Id: VersionInfo.cs,v 1.13 2012/06/09 15:06:58 kzmi Exp $
*/
using System;
using System.Collections.Generic;
using System.Text... | /*
* Copyright 2004,2006 The Poderosa Project.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* $Id: VersionInfo.cs,v 1.13 2012/06/09 15:06:58 kzmi Exp $
*/
using System;
using System.Collections.Generic;
using System.Text... | apache-2.0 | C# |
9bac02be9e58cdfdd2242804fe75d00ad26c016c | Fix test name | martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode | tests/AdventOfCode.Tests/Puzzles/Y2021/Day01Tests.cs | tests/AdventOfCode.Tests/Puzzles/Y2021/Day01Tests.cs | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.AdventOfCode.Puzzles.Y2021;
/// <summary>
/// A class containing tests for the <see cref="Day01"/> class. This class c... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.AdventOfCode.Puzzles.Y2021;
/// <summary>
/// A class containing tests for the <see cref="Day01"/> class. This class c... | apache-2.0 | C# |
7ff712de505d3b5202d097e59228f3c5e2dd6979 | Bump version | Yuisbean/WebMConverter,o11c/WebMConverter,nixxquality/WebMConverter | Properties/AssemblyInfo.cs | 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("We... | 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("We... | mit | C# |
da2a86cd2c772491d8e8ac926435f63b368fc70c | upgrade version to 1.8.0 | matortheeternal/mod-analyzer | ModAnalyzer/Properties/AssemblyInfo.cs | ModAnalyzer/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit | C# |
188f27aff7df4aba29ca85d19654521c60f8e659 | Update ImportingFromArrayList.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cell... | Examples/CSharp/Data/Handling/Importing/ImportingFromArrayList.cs | Examples/CSharp/Data/Handling/Importing/ImportingFromArrayList.cs | using System.IO;
using Aspose.Cells;
using System.Collections;
namespace Aspose.Cells.Examples.Data.Handling.Importing
{
public class ImportingFromArrayList
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string... | using System.IO;
using Aspose.Cells;
using System.Collections;
namespace Aspose.Cells.Examples.Data.Handling.Importing
{
public class ImportingFromArrayList
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.... | mit | C# |
7a542d6e23a321883ac6f421da2dd09a8242f868 | Set collision behavior to skip with force | unic/Sitecore-Courier | Sitecore.Courier/FileCommandsFilter.cs | Sitecore.Courier/FileCommandsFilter.cs | using Sitecore.Update;
namespace Sitecore.Courier
{
using System.Collections.Generic;
using System.Linq;
using Sitecore.Update.Commands;
using Sitecore.Update.Interfaces;
/// <summary>
/// The language filter.
/// </summary>
public class FileCommandsFilter : ICommandFilter
{
private List<strin... | using Sitecore.Update;
namespace Sitecore.Courier
{
using System.Collections.Generic;
using System.Linq;
using Sitecore.Update.Commands;
using Sitecore.Update.Interfaces;
/// <summary>
/// The language filter.
/// </summary>
public class FileCommandsFilter : ICommandFilter
{
private List<strin... | mit | C# |
49c994ede715a6bf49866dc5580b867666a074e6 | Update Obsolete attribute message | bartdesmet/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,mgoertz-msft/roslyn,stephentoub/roslyn,CyrusNajmabadi/roslyn,agocke/roslyn,ErikSchierboom/roslyn,panopticoncentral/roslyn,abock/roslyn,bartdesmet/roslyn,tannergooding/roslyn,heejaechang/roslyn,ErikSchierboom/roslyn,brettfo/roslyn,reaction1989/roslyn,agocke/roslyn... | src/Workspaces/Core/Portable/SolutionCrawler/ServiceFeatureOnOffOptions.cs | src/Workspaces/Core/Portable/SolutionCrawler/ServiceFeatureOnOffOptions.cs | using System;
using Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.Shared.Options
{
internal static class ServiceFeatureOnOffOptions
{
/// <summary>
/// This option is used by TypeScript.
/// </summary>
[Obsolete("Currently used by TypeScript - should move to ... | using System;
using Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.Shared.Options
{
internal static class ServiceFeatureOnOffOptions
{
/// <summary>
/// This option is used by TypeScript.
/// </summary>
[Obsolete("Use the new option SolutionCrawlerOptions.Back... | mit | C# |
e73261347547e9fdbba2d6d8a1178a295c1fc323 | Update ComparisonConditionType.cs | Microsoft/XamlBehaviors,PedroLamas/XamlBehaviors,PedroLamas/XamlBehaviors,PedroLamas/XamlBehaviors,Microsoft/XamlBehaviors,Microsoft/XamlBehaviors | src/BehaviorsSDKManaged/Microsoft.Xaml.Interactions/Core/ComparisonConditionType.cs | src/BehaviorsSDKManaged/Microsoft.Xaml.Interactions/Core/ComparisonConditionType.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Xaml.Interactions.Core
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Thre... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Xaml.Interactions.Core
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Thre... | mit | C# |
f67687212b6827f04e4f34c53d3294ea1700be19 | change the listItem to realmObject | CORDEA/ConviviumCalculator,CORDEA/ConviviumCalculator,CORDEA/ConviviumCalculator,CORDEA/ConviviumCalculator,CORDEA/ConviviumCalculator,CORDEA/ConviviumCalculator | windows/ConviviumCalculator/ListItem.cs | windows/ConviviumCalculator/ListItem.cs | using Realms;
namespace ConviviumCalculator
{
public class ListItem : RealmObject
{
public string Name { get; set; }
public int Price { get; set; }
public bool IsSwitch { get; set; }
}
}
| using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConviviumCalculator
{
public class ListItem
{
public string Name { get; set; }
public int Price { get; set; }
public bool IsSwitch { g... | apache-2.0 | C# |
2565872083c21df6910305627bbb4eb786754817 | add model validations for CatalogItem | dotnet-architecture/eShopModernizing,dotnet-architecture/eShopModernizing,dotnet-architecture/eShopModernizing,dotnet-architecture/eShopModernizing,dotnet-architecture/eShopModernizing | src/eShopCatalogMVC/Models/CatalogItem.cs | src/eShopCatalogMVC/Models/CatalogItem.cs | using System.ComponentModel.DataAnnotations;
namespace eShopCatalogMVC.Models
{
public class CatalogItem
{
public int Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
// decimal(18,2)
[RegularExpression(@"^\d+\.\d{0,2}$", Erro... | namespace eShopCatalogMVC.Models
{
public class CatalogItem
{
public int Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public decimal Price { get; set; }
public string PictureFileName { get; set; }
public int Catal... | mit | C# |
95b5d81698d82b4350a78f1eee84efcb2eb09b0c | Fix URI Is Not Responding test | OpenMagic/OpenMagic | tests/OpenMagic.Specifications/Steps/Extensions/UriExtensions/IsReposondingSteps.cs | tests/OpenMagic.Specifications/Steps/Extensions/UriExtensions/IsReposondingSteps.cs | using System;
using FluentAssertions;
using OpenMagic.Extensions;
using OpenMagic.Specifications.Helpers;
using TechTalk.SpecFlow;
namespace OpenMagic.Specifications.Steps.Extensions.UriExtensions
{
[Binding]
public class IsReposondingSteps
{
private readonly GivenData _given;
private read... | using System;
using FluentAssertions;
using OpenMagic.Extensions;
using OpenMagic.Specifications.Helpers;
using TechTalk.SpecFlow;
namespace OpenMagic.Specifications.Steps.Extensions.UriExtensions
{
[Binding]
public class IsReposondingSteps
{
private readonly GivenData _given;
private read... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.