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 |
|---|---|---|---|---|---|---|---|---|
0e9e9ab4cfaf3e15807dee45e72a18a7573e25c7 | Remove unnecessary synchronization logic. | bgourlie/BriansMod | Oxide.Ext.BriansMod/InjuryTracker.cs | Oxide.Ext.BriansMod/InjuryTracker.cs | namespace Oxide.Ext.BriansMod
{
using System;
using System.Collections.Generic;
using global::Rust;
using Model;
using UnityEngine;
public class InjuryTracker : IInjuryTracker
{
private const string Module = "InjuryTracker";
private static InjuryTracker instance;
public static InjuryTracker Instance... | namespace Oxide.Ext.BriansMod
{
using System;
using System.Collections.Generic;
using global::Rust;
using Model;
using UnityEngine;
public class InjuryTracker : IInjuryTracker
{
private const string Module = "InjuryTracker";
private static InjuryTracker instance;
public static InjuryTracker Instance... | mit | C# |
68036b0da4dc4962facb6c1ea2988e041484bc0e | Add LocationCompleter to HDInsight cmdlets | AzureAutomationTeam/azure-powershell,devigned/azure-powershell,AzureAutomationTeam/azure-powershell,devigned/azure-powershell,AzureAutomationTeam/azure-powershell,devigned/azure-powershell,naveedaz/azure-powershell,naveedaz/azure-powershell,ClogenyTechnologies/azure-powershell,naveedaz/azure-powershell,ClogenyTechnolog... | src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GetAzureHDInsightPropertiesCommand.cs | src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/GetAzureHDInsightPropertiesCommand.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | apache-2.0 | C# |
0199c2e5f159ab95697f525643ca528a845a7ac4 | Add GENH support | Thealexbarney/VGAudio,Thealexbarney/LibDspAdpcm,Thealexbarney/VGAudio,Thealexbarney/LibDspAdpcm | src/DspAdpcm.Cli/ContainerTypes.cs | src/DspAdpcm.Cli/ContainerTypes.cs | using System;
using System.Collections.Generic;
using System.IO;
using DspAdpcm.Containers;
using DspAdpcm.Formats;
#if NET20
using DspAdpcm.Compatibility.LinqBridge;
using DspAdpcm.Compatibility.Serialization;
#else
using System.Linq;
#endif
namespace DspAdpcm.Cli
{
internal static class ContainerTypes
{
... | using System;
using System.Collections.Generic;
using System.IO;
using DspAdpcm.Containers;
using DspAdpcm.Formats;
#if NET20
using DspAdpcm.Compatibility.LinqBridge;
using DspAdpcm.Compatibility.Serialization;
#else
using System.Linq;
#endif
namespace DspAdpcm.Cli
{
internal static class ContainerTypes
{
... | mit | C# |
17a2d6ffb353bee4d592ba8d35254c920682eee4 | revert query processing | stormleoxia/teamcity-nuget-support,JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support,stormleoxia/teamcity-nuget-support,JetBrains/teamcity-nuget-support,stormleoxia/teamcity-nuget-support,JetBrains/teamcity-nuget-support | nuget-extensions/nuget-feed/Repo/LightPackageRepository.cs | nuget-extensions/nuget-feed/Repo/LightPackageRepository.cs | using System.Linq;
namespace JetBrains.TeamCity.NuGet.Feed.Repo
{
public class LightPackageRepository
{
private readonly ITeamCityPackagesRepo myRepo;
public LightPackageRepository(ITeamCityPackagesRepo repo)
{
myRepo = repo;
}
public IQueryable<TeamCityPackage> GetPackages... | using System.Linq;
namespace JetBrains.TeamCity.NuGet.Feed.Repo
{
public class LightPackageRepository
{
private readonly ITeamCityPackagesRepo myRepo;
public LightPackageRepository(ITeamCityPackagesRepo repo)
{
myRepo = repo;
}
public IQueryable<TeamCityPackage> GetPackages... | apache-2.0 | C# |
4212a9d0d765efd1527701cd9e90559e62ffe131 | Fix incorrect migration conditional | DrabWeb/osu,EVAST9919/osu,smoogipooo/osu,2yangk23/osu,peppy/osu,ZLima12/osu,NeoAdonis/osu,ppy/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,DrabWeb/osu,ZLima12/osu,johnneijzen/osu,johnneijzen/osu,naoey/osu,EVAST9919/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,DrabWeb/osu,naoey/osu,Usel... | osu.Game/Migrations/20180628011956_RemoveNegativeSetIDs.cs | osu.Game/Migrations/20180628011956_RemoveNegativeSetIDs.cs | using Microsoft.EntityFrameworkCore.Migrations;
namespace osu.Game.Migrations
{
public partial class RemoveNegativeSetIDs : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
// There was a change that baetmaps were being loaded with "-1" online IDs, which ... | using Microsoft.EntityFrameworkCore.Migrations;
namespace osu.Game.Migrations
{
public partial class RemoveNegativeSetIDs : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
// There was a change that baetmaps were being loaded with "-1" online IDs, which ... | mit | C# |
6e98f7a04c0f00048026260b047e3d69c87e4d7f | Update comments | Archie-Yang/PcscDotNet | src/PcscDotNet/SCardDisposition.cs | src/PcscDotNet/SCardDisposition.cs | namespace PcscDotNet
{
/// <summary>
/// Action to take on the card in the connected reader on close.
/// </summary>
public enum SCardDisposition
{
/// <summary>
/// Eject the card on close.
/// </summary>
Eject = 3,
/// <summary>
/// Don't do anything... | namespace PcscDotNet
{
/// <summary>
/// Action to take on the card in the connected reader on close.
/// </summary>
public enum SCardDisposition
{
/// <summary>
/// Eject the card on close.
/// </summary>
Eject = 3,
/// <summary>
/// Don't do anything... | mit | C# |
c07fa9d8bbf07a8d6e63351587708e3666db42d9 | Patch 1 (#2) | stanriders/den0bot,stanriders/den0bot | den0bot/Userlist.cs | den0bot/Userlist.cs |
namespace den0bot
{
public enum Users
{
// User(Nickname, osuID)
[User("Фаердиггер", 5292815)]
Digger = 0,
[User("Веточка", 5100305)]
Vetochka = 1,
[User("Шоквейв", 2295157)]
Shockwave = 2,
[User("Амати", 5291370)]
Amaty = 3,
... |
namespace den0bot
{
public enum Users
{
// User(Nickname, osuID)
[User("Фаердиггер", 5292815)]
Digger = 0,
[User("Веточка", 5100305)]
Vetochka = 1,
[User("Шоквейв", 2295157)]
Shockwave = 2,
[User("Амати", 5291370)]
Amaty = 3,
... | mit | C# |
23a4517b3463258162c51cd07bc500fc188488f8 | Address CRs | ClogenyTechnologies/azure-powershell,seanbamsft/azure-powershell,bgold09/azure-powershell,yadavbdev/azure-powershell,SarahRogers/azure-powershell,PashaPash/azure-powershell,shuagarw/azure-powershell,rohmano/azure-powershell,AzureRT/azure-powershell,hovsepm/azure-powershell,shuagarw/azure-powershell,zaevans/azure-powers... | src/Common/Commands.Common/ComputeCloudException.cs | src/Common/Commands.Common/ComputeCloudException.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | apache-2.0 | C# |
7494aeeb900828ae8102e99b1bfd5c89b4111ac6 | Fix file version. | antoshkab/unity.wcf,ViceIce/unity.wcf | Unity.Wcf/Properties/AssemblyInfo.cs | Unity.Wcf/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("Unity.Wcf")]
[assembly: AssemblyDes... | 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("Unity.Wcf")]
[assembly: AssemblyDes... | mit | C# |
1d77221c5872a97c5cc814c4cb10c0f793d2f1ed | Build failure test | mikeobrien/WcfRestContrib,mikeobrien/WcfRestContrib,mikeobrien/WcfRestContrib | src/WcfRestContrib.Tests/EncodedUrlBehaviorTests.cs | src/WcfRestContrib.Tests/EncodedUrlBehaviorTests.cs | using System.Net;
using System.ServiceModel;
using System.ServiceModel.Web;
using NUnit.Framework;
using Should;
namespace WcfRestContrib.Tests
{
[TestFixture]
public class EncodedUrlBehaviorTests
{
[ServiceContract]
public class Service
{
[Web... | using System;
using System.Net;
using System.ServiceModel;
using System.ServiceModel.Web;
using NUnit.Framework;
using Should;
namespace WcfRestContrib.Tests
{
[TestFixture]
public class EncodedUrlBehaviorTests
{
[ServiceContract]
public class Service
{
... | mit | C# |
e7e40dbc5137d7f2cfd0bf03eab353acf8df1a3a | Add missing header | danielmundt/csremote | source/Remoting.Service/Events/EventDispatchedEventArgs.cs | source/Remoting.Service/Events/EventDispatchedEventArgs.cs | #region Header
// Copyright (C) 2012 Daniel Schubert
//
// 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,... | using System;
using System.Collections.Generic;
using System.Text;
namespace Remoting.Service.Events
{
[Serializable]
public class EventDispatchedEventArgs : EventArgs
{
#region Fields
private Object data;
private String sink;
#endregion Fields
#region Constructors
public EventDispatchedEventArgs(S... | mit | C# |
16e0310874675b2a6c7f04f0c091c89ea64e481d | Rename tests | Domysee/Pather.CSharp | test/Pather.CSharp.UnitTests/ResolverTests.cs | test/Pather.CSharp.UnitTests/ResolverTests.cs | using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace Pather.CSharp.UnitTests
{
public class ResolverTests
{
public ResolverTests()
{
}
[Fact]
public void SinglePropertyResolution... | using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace Pather.CSharp.UnitTests
{
// This project can output the Class library as a NuGet Package.
// To enable this option, right-click on the project and select the Propert... | mit | C# |
8c6274d0e11ee21ed758aa1fb0f6487124c2669d | Add messageworker start to main() | alekratz/apphack2-project | transf/Program.cs | transf/Program.cs | using System;
using System.Threading;
using System.Net;
using System.Net.Sockets;
using System.Text.RegularExpressions;
using System.Text;
using transf.Log;
namespace transf
{
class Program
{
/// <summary>
/// Prompts for a nickname until a valid nickname is found.
/// </summary>
/// <returns>The valid nick... | using System;
using System.Threading;
using System.Net;
using System.Net.Sockets;
using System.Text.RegularExpressions;
using System.Text;
using transf.Log;
namespace transf
{
class Program
{
/// <summary>
/// Prompts for a nickname until a valid nickname is found.
/// </summary>
/// <returns>The valid nick... | agpl-3.0 | C# |
a322a004ac24666a6019cb2442c2d0f7404b6764 | update route | smbc-digital/iag-contentapi | src/StockportContentApi/Controllers/RedirectsController.cs | src/StockportContentApi/Controllers/RedirectsController.cs | using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using StockportContentApi.Repositories;
namespace StockportContentApi.Controllers
{
public class RedirectsController : Controller
{
private readonly ResponseHandler _handler;
private readonly RedirectsRepository _repository;
... | using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using StockportContentApi.Repositories;
namespace StockportContentApi.Controllers
{
public class RedirectsController : Controller
{
private readonly ResponseHandler _handler;
private readonly RedirectsRepository _repository;
... | mit | C# |
2ebcfc190e0004c12443fff5bdafd8e765e2d0e9 | Fix namespaces in the constructor | Team-Captain-Marvel-2016/TeamWorkSkeletonSample,Team-Captain-Marvel-2016/TeamWorkSkeletonSample,Team-Captain-Marvel-2016/Team-Captain-Marvel-2016-Project,Team-Captain-Marvel-2016/Team-Captain-Marvel-2016-Project | TeamWorkSkeleton/FootballPlayerAssembly/FootballPlayerFactoryClasses/VenusianFootballPlayerConstructingMethods.cs | TeamWorkSkeleton/FootballPlayerAssembly/FootballPlayerFactoryClasses/VenusianFootballPlayerConstructingMethods.cs | namespace FootballPlayerAssembly.FootballPlayerFactoryClasses
{
using FootballPlayerAbstractClass;
using SpeciesNameGenerators;
public static partial class FootballPlayerFactory
{
/// <summary>
/// Creates a new Venusian player object
/// applying previously generated set of b... | namespace FootballPlayerAssembly.FootballPlayerFactoryClasses
{
using FootballPlayerAbstractClass;
using SpeciesNameGenerators;
public static partial class FootballPlayerFactory
{
/// <summary>
/// Creates a new Venusian player object
/// applying previously generated set of b... | mit | C# |
0aab43385c6b4215075d5b02fe15a613d8171a5b | Revert "Make IssueId public (or powershell can't see it)" | JetBrains/YouTrackSharp,JetBrains/YouTrackSharp | src/YouTrackSharp/Cmdlets/GetIssueCmdlet.cs | src/YouTrackSharp/Cmdlets/GetIssueCmdlet.cs | #region License
// Distributed under the BSD License
//
// YouTrackSharp Copyright (c) 2010-2012, Hadi Hariri and Contributors
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:... | #region License
// Distributed under the BSD License
//
// YouTrackSharp Copyright (c) 2010-2012, Hadi Hariri and Contributors
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:... | apache-2.0 | C# |
6521e62ffac84e09f92511588f0f6d77f43c99ed | Fix test | webprofusion/Certify | src/Certify.Tests/Certify.Service.Tests.Integration/ServiceTestBase.cs | src/Certify.Tests/Certify.Service.Tests.Integration/ServiceTestBase.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Certify.SharedUtils;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Certify.Service.Tests.Integration
{
publi... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Certify.SharedUtils;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Certify.Service.Tests.Integration
{
public class ServiceTestBase
{
prot... | mit | C# |
02a0e182ea1d211a0c0676048b35d6f03de0b1a2 | Allow for saving of simulations before the slime has fully expanded | willb611/SlimeSimulation | SlimeSimulation/View/WindowComponent/SimulationControlComponent/GrowthPhaseControlBox.cs | SlimeSimulation/View/WindowComponent/SimulationControlComponent/GrowthPhaseControlBox.cs | using Gtk;
using NLog;
using SlimeSimulation.Controller.WindowController.Templates;
namespace SlimeSimulation.View.WindowComponent.SimulationControlComponent
{
internal class GrowthPhaseControlBox : AbstractSimulationControlBox
{
private static readonly Logger Logger = LogManager.GetCurrentClassLogger(... | using Gtk;
using NLog;
using SlimeSimulation.Controller.WindowController.Templates;
namespace SlimeSimulation.View.WindowComponent.SimulationControlComponent
{
internal class GrowthPhaseControlBox : AbstractSimulationControlBox
{
private static readonly Logger Logger = LogManager.GetCurrentClassLogger(... | apache-2.0 | C# |
036d0d1232fa2358eb76c141d36572f05c707207 | Verify Code values in instr info table | 0xd4d/iced,0xd4d/iced,0xd4d/iced,0xd4d/iced,0xd4d/iced | Iced.UnitTests/Intel/InstructionInfoTests/CodeValueTests.cs | Iced.UnitTests/Intel/InstructionInfoTests/CodeValueTests.cs | /*
Copyright (C) 2018 de4dot@gmail.com
This file is part of Iced.
Iced is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any lat... | /*
Copyright (C) 2018 de4dot@gmail.com
This file is part of Iced.
Iced is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any lat... | mit | C# |
ac6a083a0e4532f103693ef3a42ba205ffcab37d | Add check box for show in library or not | SoftwareDesign/Library,SoftwareDesign/Library,SoftwareDesign/Library | MMLibrarySystem/MMLibrarySystem/Views/BookList/Index.cshtml | MMLibrarySystem/MMLibrarySystem/Views/BookList/Index.cshtml | @model IPagedList<MMLibrarySystem.Models.BookListController.BookListItem>
@{
ViewBag.Title = "Book List";
}
@using (Ajax.BeginForm(new AjaxOptions()
{
HttpMethod = "GET",
InsertionMode = InsertionMode.Replace,
UpdateTargetId = "bookListContainer"
}))
{
<fieldset style="border:1px solid black;... | @model IPagedList<MMLibrarySystem.Models.BookListController.BookListItem>
@{
ViewBag.Title = "Book List";
}
@using (Ajax.BeginForm(new AjaxOptions()
{
HttpMethod = "GET",
InsertionMode = InsertionMode.Replace,
UpdateTargetId = "bookListContainer"
}))
{
<fieldset style="border:1px solid black;... | apache-2.0 | C# |
1448308b01b64477d06add1b1b23cc6e1d158996 | Migrate away from using job system to trigger background task to retain cross-version compatibility (#333) | kamsar/Unicorn,kamsar/Unicorn | src/Unicorn/Pipelines/UnicornSyncEnd/SendSerializationCompleteEvent.cs | src/Unicorn/Pipelines/UnicornSyncEnd/SendSerializationCompleteEvent.cs | using System.Linq;
using System.Threading;
using Sitecore.Configuration;
using Sitecore.Data;
using Sitecore.Data.Serialization;
using Sitecore.Diagnostics;
using Sitecore.Eventing;
using Sitecore.Sites;
using Unicorn.Predicates;
// ReSharper disable UnusedMember.Global
namespace Unicorn.Pipelines.UnicornSyncEnd
{
... | using System.Linq;
using Sitecore.Configuration;
using Sitecore.Data;
using Sitecore.Data.Serialization;
using Sitecore.Diagnostics;
using Sitecore.Eventing;
using Sitecore.Jobs;
using Unicorn.Predicates;
// ReSharper disable UnusedMember.Global
namespace Unicorn.Pipelines.UnicornSyncEnd
{
public class SendSerializ... | mit | C# |
e8b0a1289b1f324f7a76378eb4dfcbd799f8a5e1 | 添加一个备注。 | yoyocms/YoYoCms.AbpProjectTemplate,yoyocms/YoYoCms.AbpProjectTemplate,yoyocms/YoYoCms.AbpProjectTemplate | src/YoYoCms.AbpProjectTemplate.WebApi/WebApi/Providers/OAuthOptions.cs | src/YoYoCms.AbpProjectTemplate.WebApi/WebApi/Providers/OAuthOptions.cs | using System;
using Abp.Dependency;
using Microsoft.Owin;
using Microsoft.Owin.Security.OAuth;
namespace YoYoCms.AbpProjectTemplate.WebApi.Providers
{
/// <summary>
/// Class OAuthOptions.
/// </summary>
public class OAuthOptions
{
/// <summary>
/// Gets or sets the server options.... | using System;
using Abp.Dependency;
using Microsoft.Owin;
using Microsoft.Owin.Security.OAuth;
namespace YoYoCms.AbpProjectTemplate.WebApi.Providers
{
/// <summary>
/// Class OAuthOptions.
/// </summary>
public class OAuthOptions
{
/// <summary>
/// Gets or sets the server options.... | apache-2.0 | C# |
61a38ab93d197b5a1283c408fd93b157a0efb74e | add link to gallery | IskraNikolova/OnlineAtelier,IskraNikolova/OnlineAtelier | Source/Web/OnlineAtelier.Web/Views/Users/ProfilePage.cshtml | Source/Web/OnlineAtelier.Web/Views/Users/ProfilePage.cshtml | @using Microsoft.AspNet.Identity
@model OnlineAtelier.Web.Models.ViewModels.Users.ProfileViewModel
@{
ViewBag.Title = "Profile Page";
}
<div class="row">
<div class="col-md-3">
<br />
<div class="panel panel-body">
<img class="userPhoto" src="@Url.Action("UserPhotos", "Users", new {... | @using Microsoft.AspNet.Identity
@model OnlineAtelier.Web.Models.ViewModels.Users.ProfileViewModel
@{
ViewBag.Title = "Profile Page";
}
<div class="row">
<div class="col-md-3">
<br />
<div class="panel panel-body">
<img class="userPhoto" src="@Url.Action("UserPhotos", "Users", new {... | mit | C# |
f06327190d427783575f1fa9c366e275847f45bb | Increment the app version. | ladimolnar/BitcoinDatabaseGenerator | Sources/BitcoinDatabaseGenerator/Properties/AssemblyInfo.cs | Sources/BitcoinDatabaseGenerator/Properties/AssemblyInfo.cs | //-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs">
// Copyright © Ladislau Molnar. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.Reflection;
using System.Runtime.Int... | //-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs">
// Copyright © Ladislau Molnar. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.Reflection;
using System.Runtime.Int... | apache-2.0 | C# |
0f8c8aef22ceb85061bbaff1d0f238ef7b2e51e5 | Fix parsing reverse bug when unsupported options are passed as arguments | getmillipede/millipede-csharp | millipede.cs | millipede.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace millipede
{
class Program
{
static void Main(string[] args)
{
int[] padding_offsets = new int[] { 2, 1, 0, 1, 2, 3, 4, 4, 3 };
int i = 0;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace millipede
{
class Program
{
static void Main(string[] args)
{
int[] padding_offsets = new int[] { 2, 1, 0, 1, 2, 3, 4, 4, 3 };
int i = 0;
... | mit | C# |
4af4144a5d3b62daf25717dd468350528f362167 | Update RemoteNLogViewerOptionsPartialConfigurationValidator.cs | tiksn/TIKSN-Framework | TIKSN.Core/Analytics/Logging/NLog/RemoteNLogViewerOptionsPartialConfigurationValidator.cs | TIKSN.Core/Analytics/Logging/NLog/RemoteNLogViewerOptionsPartialConfigurationValidator.cs | using FluentValidation;
using TIKSN.Configuration.Validator;
namespace TIKSN.Analytics.Logging.NLog
{
public class
RemoteNLogViewerOptionsPartialConfigurationValidator : PartialConfigurationFluentValidatorBase<
RemoteNLogViewerOptions>
{
public RemoteNLogViewerOptionsPartialConfigur... | using FluentValidation;
using TIKSN.Configuration.Validator;
namespace TIKSN.Analytics.Logging.NLog
{
public class
RemoteNLogViewerOptionsPartialConfigurationValidator : PartialConfigurationFluentValidatorBase<
RemoteNLogViewerOptions>
{
public RemoteNLogViewerOptionsPartialConfigur... | mit | C# |
515c426f1a1ce2bea88aae3cacd5ed7cc8e244b2 | Test fixups | martinsmith1968/DNX.Helpers.Console | Test.DNX.Helpers.Console/CommandLine/Templating/DotLiquid/DotLiquidTemplateEngineTests.cs | Test.DNX.Helpers.Console/CommandLine/Templating/DotLiquid/DotLiquidTemplateEngineTests.cs | using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Reflection;
using DNX.Helpers.Assemblies;
using DNX.Helpers.Console.CommandLine.Help;
using DNX.Helpers.Console.CommandLine.Help.Maps;
using DNX.Helpers.Console.CommandLine.Templating.DotLiquid;
using DNX.Helpers.Linq;
using DNX.Helpers... | using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Reflection;
using DNX.Helpers.Assemblies;
using DNX.Helpers.Console.CommandLine.Help;
using DNX.Helpers.Console.CommandLine.Help.Maps;
using DNX.Helpers.Console.CommandLine.Templating.DotLiquid;
using DNX.Helpers.Reflection;
using NUnit... | mit | C# |
a730b4117b01589c465d489fca20cd73f0263863 | fix exception in AlbumPriceIsReallyTooMuchValidation | Jack109/MahApps.Metro,jumulr/MahApps.Metro,xxMUROxx/MahApps.Metro,Danghor/MahApps.Metro,ye4241/MahApps.Metro,chuuddo/MahApps.Metro,pfattisc/MahApps.Metro,Evangelink/MahApps.Metro,p76984275/MahApps.Metro,MahApps/MahApps.Metro,batzen/MahApps.Metro,psinl/MahApps.Metro | samples/MetroDemo/ValueConverter/AlbumPriceIsTooMuchConverter.cs | samples/MetroDemo/ValueConverter/AlbumPriceIsTooMuchConverter.cs | using System;
using System.Globalization;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using MetroDemo.Models;
namespace MetroDemo.ValueConverter
{
public class AlbumPriceIsTooMuchConverter : IValueConverter
{
public object Convert(object value, Ty... | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using MetroDemo.Models;
namespace MetroDemo.ValueConverter
{
public class AlbumPriceIsTooMuchConverter : IValueConverter
{
public object Convert(object value, Type targetType, obje... | mit | C# |
a11eeb12d668997ac2e8589ad3f6c722d3af9003 | add correct attribute | smhinsey/Fulcrum,smhinsey/Fulcrum,smhinsey/Fulcrum | seed/FulcrumSeed/Components/UserAccounts/Commands/EditAccount.cs | seed/FulcrumSeed/Components/UserAccounts/Commands/EditAccount.cs | using System;
using System.ComponentModel.DataAnnotations;
using System.Security.Claims;
using Fulcrum.Core;
using Fulcrum.Core.Security;
namespace FulcrumSeed.Components.UserAccounts.Commands
{
[RequiresClaim(ClaimTypes.Role, UserRoles.Admin)]
public class EditAccount : DefaultCommand
{
[Required]
public stri... | using System;
using System.ComponentModel.DataAnnotations;
using System.Security.Claims;
using Fulcrum.Core;
using Fulcrum.Core.Security;
namespace FulcrumSeed.Components.UserAccounts.Commands
{
//[RequiresClaim(ClaimTypes.Role, UserRoles.Admin)]
[RequiresClaim(ClaimTypes.Role, "whateverman")]
public class EditAcc... | bsd-3-clause | C# |
698048ab59a773bd9cedac5dc01d74005dad56ad | Send a POST to light up the HockeyGoalLight | TeamGOOOOAAAAAALLL/Azure | AzureCloudService1/GOALWorker/LightNotifier.cs | AzureCloudService1/GOALWorker/LightNotifier.cs | using System.Diagnostics;
using System.Net;
using System.Text;
using System.IO;
namespace GOALWorker
{
public static class LightNotifier
{
//TODO: Jared Implement call to each light here for their team
public static void NotifyLightsForTeam(string teamname)
{
Trace.TraceInf... | using System.Diagnostics;
namespace GOALWorker
{
public static class LightNotifier
{
//TODO: Jared Implement call to each light here for their team
public static void NotifyLightsForTeam(string teamname)
{
Trace.TraceInformation("GOALWorker is Sending Light Request for {0}"... | bsd-3-clause | C# |
e85c005b04da24cdd62ad65066ccc409ca856a23 | Disable autoloading of Interactive Window (#1299) | lukedgr/nodejstools,kant2002/nodejstools,mjbvz/nodejstools,kant2002/nodejstools,paulvanbrenk/nodejstools,Microsoft/nodejstools,lukedgr/nodejstools,paladique/nodejstools,paulvanbrenk/nodejstools,paladique/nodejstools,mjbvz/nodejstools,paladique/nodejstools,paladique/nodejstools,mjbvz/nodejstools,Microsoft/nodejstools,mj... | Common/Product/ReplWindow/ReplWindowPackage.cs | Common/Product/ReplWindow/ReplWindowPackage.cs | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If ... | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If ... | apache-2.0 | C# |
28f4d3852750bdcb071e489a5e92c3988b6b667a | Remove error in case the searchString is empty | ismaelbelghiti/Tigwi,ismaelbelghiti/Tigwi | Core/Tigwi.UI/Views/Account/ShowAccount.cshtml | Core/Tigwi.UI/Views/Account/ShowAccount.cshtml | @model Tigwi.UI.Models.IAccountModel
@{
ViewBag.Title = "ShowAccount";
}
@section LeftInfos
{
<h3>@Model.Name</h3>
<p>@Model.Description</p>
@if(User.Identity.IsAuthenticated)
{
@Html.Partial("_FollowPerson", Model)
@Html.Partial("_AccountFollowedPublicList... | @model Tigwi.UI.Models.IAccountModel
@{
ViewBag.Title = "ShowAccount";
}
@section LeftInfos
{
<p>Oh Hai @Model.Name</p>
@if(User.Identity.IsAuthenticated)
{
@Html.Partial("_FollowPerson", Model)
@Html.Partial("_AccountFollowedPublicLists", Model)
}
}
@Html... | bsd-3-clause | C# |
83d2558acac1ea15270f5b37a871136ba86d84fb | Implement Equals for ImmutableSolidColorBrush. | akrisiun/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,SuperJMN/Avalonia,grokys/Perspex,wieslawsoltes/Perspex,Perspex/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,wieslawsoltes/P... | src/Avalonia.Visuals/Media/Immutable/ImmutableSolidColorBrush.cs | src/Avalonia.Visuals/Media/Immutable/ImmutableSolidColorBrush.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;
namespace Avalonia.Media.Immutable
{
/// <summary>
/// Fills an area with a solid color.
/// </summary>
public readonly str... | // 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.
namespace Avalonia.Media.Immutable
{
/// <summary>
/// Fills an area with a solid color.
/// </summary>
public readonly struct ImmutableSo... | mit | C# |
5897fb217d1d913d2acf843f4dc950d358b90f17 | remove xunit 1.x namespace | MehdiK/Humanizer,Flatlineato/Humanizer,jaxx-rep/Humanizer,Flatlineato/Humanizer,hazzik/Humanizer,aloisdg/Humanizer | src/Humanizer.Tests/Localisation/es/NumberToWordsFeminineTest.cs | src/Humanizer.Tests/Localisation/es/NumberToWordsFeminineTest.cs | using Xunit;
namespace Humanizer.Tests.Localisation.es
{
public class NumberToWordsFeminineTests : AmbientCulture
{
public NumberToWordsFeminineTests() : base("es-ES") { }
[Theory]
[InlineData(1, "una")]
[InlineData(21, "veintiuna")]
[InlineData(31, "treinta y una")]
... | using Xunit;
using Xunit.Extensions;
namespace Humanizer.Tests.Localisation.es
{
public class NumberToWordsFeminineTests : AmbientCulture
{
public NumberToWordsFeminineTests() : base("es-ES") { }
[Theory]
[InlineData(1, "una")]
[InlineData(21, "veintiuna")]
[InlineData... | mit | C# |
2731be1739ee2c126f55ce85408b4d5b023776ad | Change test method to async | kiyoaki/JpPublicHolidays.NET | JpPublicHolidays.Test/PublicHolidaysApiTest.cs | JpPublicHolidays.Test/PublicHolidaysApiTest.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace PublicHolidays.Test
{
[TestClass]
public class PublicHolidaysApiTest
{
[TestMethod]
public async Task TestGet()
{
var holidays = await JpPublicHo... | using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace PublicHolidays.Test
{
[TestClass]
public class PublicHolidaysApiTest
{
[TestMethod]
public void TestGet()
{
var holidays = JpPublicHolidays.PublicHolidays.Get().Result;
... | mit | C# |
060fb19a6dc4339593c97705b402ecfcb8060947 | Update NativeImageJsonConverter.cs | ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET | ElectronNET.API/Entities/NativeImageJsonConverter.cs | ElectronNET.API/Entities/NativeImageJsonConverter.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using Newtonsoft.Json;
namespace ElectronNET.API.Entities
{
internal class NativeImageJsonConverter : JsonConverter
{
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
... | using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using Newtonsoft.Json;
namespace ElectronNET.API.Entities
{
internal class NativeImageJsonConverter : JsonConverter
{
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
... | mit | C# |
ad31476ee2c1708b3f35417d65f06dd30cfc7226 | Apply suggestions from code review | StephenHodgson/MixedRealityToolkit-Unity | Assets/MixedRealityToolkit/_Core/Services/BaseExtensionService.cs | Assets/MixedRealityToolkit/_Core/Services/BaseExtensionService.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
//using Microsoft.MixedReality.Toolkit.Core.Definitions;
using Microsoft.MixedReality.Toolkit.Core.Interfaces;
namespace Microsoft.MixedReality.Toolkit.Core.Service... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
//using Microsoft.MixedReality.Toolkit.Core.Definitions;
using Microsoft.MixedReality.Toolkit.Core.Interfaces;
namespace Microsoft.MixedReality.Toolkit.Core.Service... | mit | C# |
42e9e8d795cfa7e53f271697b87a65aa6787de6a | Implement some actions for Admins. | enarod/enarod-web-api,enarod/enarod-web-api,enarod/enarod-web-api | Infopulse.EDemocracy.Data/Repositories/PetitionAdminRepository.cs | Infopulse.EDemocracy.Data/Repositories/PetitionAdminRepository.cs | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Linq.Expressions;
using Infopulse.EDemocracy.Data.Interfaces;
using Infopulse.EDemocracy.Model;
using Infopulse.EDemocracy.Model.ClientEntities.Search;
using Infopulse.EDemocracy.Model.Enum;
namespace Infopulse.E... | using System.Collections.Generic;
using Infopulse.EDemocracy.Data.Interfaces;
using Infopulse.EDemocracy.Model;
using Infopulse.EDemocracy.Model.ClientEntities.Search;
namespace Infopulse.EDemocracy.Data.Repositories
{
public class PetitionAdminRepository : PetitionRepository, IPetitionAdminRepository
{
public IE... | cc0-1.0 | C# |
b743d72c6804e31ce8359317315fe4868be8893d | Update the version to 1.6 | ladimolnar/BitcoinDatabaseGenerator | Sources/BitcoinDatabaseGenerator/Properties/AssemblyInfo.cs | Sources/BitcoinDatabaseGenerator/Properties/AssemblyInfo.cs | //-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs">
// Copyright © Ladislau Molnar. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.Reflection;
using System.Runtime.Int... | //-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs">
// Copyright © Ladislau Molnar. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.Reflection;
using System.Runtime.Int... | apache-2.0 | C# |
264c4912a89c1a1fded802832fb7d00b54743dd6 | Update CurrencyUnionRedirectionOptions.cs | tiksn/TIKSN-Framework | TIKSN.Core/Globalization/CurrencyUnionRedirectionOptions.cs | TIKSN.Core/Globalization/CurrencyUnionRedirectionOptions.cs | using System.Collections.Generic;
namespace TIKSN.Globalization
{
public class CurrencyUnionRedirectionOptions
{
public CurrencyUnionRedirectionOptions() =>
this.CurrencyUnionRedirections = new Dictionary<string, string>
{
{"GGP", "en-GB" /*"en-GG"*/},
... | using System.Collections.Generic;
namespace TIKSN.Globalization
{
public class CurrencyUnionRedirectionOptions
{
public CurrencyUnionRedirectionOptions()
{
CurrencyUnionRedirections = new Dictionary<string, string>
{
{ "GGP", "en-GB" /*"en-GG"*/},
... | mit | C# |
cc1a17ff1887d28d8e0ea061ad66301501085431 | Optimize WaitForSecondsWithCancel changes | CaitSith2/KtaneTwitchPlays,samfun123/KtaneTwitchPlays | TwitchPlaysAssembly/Src/Helpers/WaitForSecondsWithCancel.cs | TwitchPlaysAssembly/Src/Helpers/WaitForSecondsWithCancel.cs | using UnityEngine;
public static class CoroutineCanceller
{
public static void SetCancel()
{
ShouldCancel = true;
}
public static void ResetCancel()
{
ShouldCancel = false;
}
public static bool ShouldCancel
{
get;
private set;
}
}
public class WaitForSecondsWithCancel : CustomYieldInstruction
{
p... | using UnityEngine;
public static class CoroutineCanceller
{
public static void SetCancel()
{
ShouldCancel = true;
}
public static void ResetCancel()
{
ShouldCancel = false;
}
public static bool ShouldCancel
{
get;
private set;
}
}
public class WaitForSecondsWithCancel : CustomYieldInstruction
{
p... | mit | C# |
46133b58a4eb3f92b9feed4719ea072247a1f131 | Refactor LambdaExpressionGenerator for better readability | sean-gilliam/AutoFixture,zvirja/AutoFixture,Pvlerick/AutoFixture,AutoFixture/AutoFixture | Src/AutoFixture/LambdaExpressionGenerator.cs | Src/AutoFixture/LambdaExpressionGenerator.cs | using System;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using AutoFixture.Kernel;
namespace AutoFixture
{
/// <summary>
/// Creates new lambda expressions represented by the <see cref="Expression{TDelegate}"/> type.
/// </summary>
/// <remarks>
/// Specimens are ty... | using System;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using AutoFixture.Kernel;
namespace AutoFixture
{
/// <summary>
/// Creates new lambda expressions represented by the <see cref="Expression{TDelegate}"/> type.
/// </summary>
/// <remarks>
/// Specimens are ty... | mit | C# |
75ec321303f5025f08f662367302f27bd152f133 | Rework the way DB access is done | codemonkey85/PKMDS-Save-Editor | PKMDS-Save-Editor/PKMDS-Save-Editor/frmMain.cs | PKMDS-Save-Editor/PKMDS-Save-Editor/frmMain.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using PKMDS_CS;
namespace PKMDS_Save_Editor
{
public partial class frmMain : Form
{
public frmMain()
{
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using PKMDS_CS;
namespace PKMDS_Save_Editor
{
public partial class frmMain : Form
{
public frmMain()
{
... | unlicense | C# |
a940ac69eeb06ef259dc4b5fadd6649c9c99e0a1 | Update ReadonlyDomainRepository.cs | ericburcham/Highway.Data,HighwayFramework/Highway.Data | src/Highway.Data.EntityFramework/Repositories/ReadonlyDomainRepository.cs | src/Highway.Data.EntityFramework/Repositories/ReadonlyDomainRepository.cs | using Highway.Data.EventManagement;
namespace Highway.Data.Repositories
{
public class ReadonlyDomainRepository<T> : ReadonlyRepository, IReadonlyDomainRepository<T>
where T : class, IDomain
{
public ReadonlyDomainRepository(IReadonlyDomainContext<T> context, T domain)
: base(conte... | using Highway.Data.EventManagement;
namespace Highway.Data.Repositories
{
public class ReadonlyDomainRepository<T> : ReadonlyRepository, IReadonlyDomainRepository<T>
where T : class, IDomain
{
public ReadonlyDomainRepository(IReadonlyDomainContext<T> context, IDomain domain)
: base... | mit | C# |
0f0a14395fc2f6b77080327cd635d7bf807f80d2 | fix compilazione | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.FakePersistance.ExternalAPI/Servizi/ESRI/GetJobId.cs | src/backend/SO115App.FakePersistance.ExternalAPI/Servizi/ESRI/GetJobId.cs | using Microsoft.Extensions.Configuration;
using SO115App.ExternalAPI.Client;
using SO115App.Models.Classi.ESRI;
using SO115App.Models.Servizi.Infrastruttura.SistemiEsterni.ESRI;
using System;
using System.Net.Http;
using System.Text.Json;
using System.Threading.Tasks;
namespace SO115App.ExternalAPI.Fake.Servizi.ESRI
... | using Microsoft.Extensions.Configuration;
using SO115App.ExternalAPI.Client;
using SO115App.Models.Classi.ESRI;
using SO115App.Models.Servizi.Infrastruttura.SistemiEsterni.ESRI;
using System;
using System.Net.Http;
using System.Text.Json;
using System.Threading.Tasks;
namespace SO115App.ExternalAPI.Fake.Servizi.ESRI
... | agpl-3.0 | C# |
6585a42b4022f001d399efd5188e1bb4d003998c | Add more RuneTek5Cache tests | villermen/runescape-cache-tools,villermen/runescape-cache-tools | RuneScapeCacheToolsTests/RuneTek5CacheTests.cs | RuneScapeCacheToolsTests/RuneTek5CacheTests.cs | using RuneScapeCacheToolsTests.Fixtures;
using Villermen.RuneScapeCacheTools.Cache;
using Villermen.RuneScapeCacheTools.Cache.RuneTek5;
using Xunit;
using Xunit.Abstractions;
namespace RuneScapeCacheToolsTests
{
[Collection("TestCache")]
public class RuneTek5CacheTests
{
private ITestOutputHelper ... | using RuneScapeCacheToolsTests.Fixtures;
using Villermen.RuneScapeCacheTools.Cache;
using Xunit;
using Xunit.Abstractions;
namespace RuneScapeCacheToolsTests
{
[Collection("TestCache")]
public class RuneTek5CacheTests
{
private readonly ITestOutputHelper _output;
private readonly CacheFix... | mit | C# |
be6ea2cb2fcb09ee6da00de9fe28622d0d591cb7 | Bump version and simplify | mj1856/SimpleImpersonation | SimpleImpersonation/Properties/AssemblyInfo.cs | SimpleImpersonation/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("SimpleImpersonation")]
[assembly: AssemblyDescription("A tiny library that lets you impersonate any user, by acting as a managed wrapper for the LogonUser Win32 function.")]
[assembly: AssemblyCompany("Matt Johnson")]
[assembly: ... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("SimpleImpersonation")]
[assembly: AssemblyDescription("A tiny library that lets you impersonate any user, by acting as a managed wrapper for the LogonUser Win32 function.")]
[assembly: AssemblyCompany("Matt Johnson")]
[assembly: ... | mit | C# |
3532b092c05dc9a1ae69efcb41ecc0b9eb0d338a | Remove call to App.Invoke | lytico/xwt,sevoku/xwt,mminns/xwt,hwthomas/xwt,mminns/xwt,steffenWi/xwt,directhex/xwt,mono/xwt,cra0zy/xwt,residuum/xwt,TheBrainTech/xwt,antmicro/xwt,iainx/xwt,hamekoz/xwt,akrisiun/xwt | Xwt.Gtk/Xwt.GtkBackend/ProgressBarBackend.cs | Xwt.Gtk/Xwt.GtkBackend/ProgressBarBackend.cs | //
// ProgressBarBackend.cs
//
// Author:
// Andres G. Aragoneses <knocte@gmail.com>
//
// Copyright (c) 2012 Andres G. Aragoneses
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Soft... | //
// ProgressBarBackend.cs
//
// Author:
// Andres G. Aragoneses <knocte@gmail.com>
//
// Copyright (c) 2012 Andres G. Aragoneses
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Soft... | mit | C# |
94ff0b6ad14fa51c1368a8ec91372880f6b796ca | Fix SvgImage button overlay demo on Android. | twintechs/TwinTechsFormsLib,patridge/TwinTechsFormsLib | TwinTechsForms/TwinTechsFormsExample/TwinTechs/Example/SvgImageSample/SvgImageSamplePage.cs | TwinTechsForms/TwinTechsFormsExample/TwinTechs/Example/SvgImageSample/SvgImageSamplePage.cs | using System;
using System.Reflection;
using Xamarin.Forms;
using TwinTechs.Controls;
namespace TwinTechs.Example.SvgImageSample
{
public class SvgImageSamplePage : ContentPage
{
readonly SvgImageSamplePageViewModel _ViewModel;
public SvgImageSamplePage ()
{
_ViewModel = new SvgImageSamplePageViewModel();
... | using System;
using System.Reflection;
using Xamarin.Forms;
using TwinTechs.Controls;
namespace TwinTechs.Example.SvgImageSample
{
public class SvgImageSamplePage : ContentPage
{
readonly SvgImageSamplePageViewModel _ViewModel;
public SvgImageSamplePage ()
{
_ViewModel = new SvgImageSamplePageViewModel();
... | apache-2.0 | C# |
469bd1b28fe530e77093fdbe42923f37f6949bf4 | Include work from #802 | Redth/ZXing.Net.Mobile | ZXing.Net.Mobile/MacOS/BitmapRenderer.macos.cs | ZXing.Net.Mobile/MacOS/BitmapRenderer.macos.cs | using System;
using ZXing.Rendering;
using Foundation;
using CoreFoundation;
using CoreGraphics;
using AppKit;
using ZXing.Common;
namespace ZXing.Mobile
{
public class BitmapRenderer : IBarcodeRenderer<NSImage>
{
public NSImage Render(BitMatrix matrix, BarcodeFormat format, string content)
{
return Rende... | using System;
using ZXing.Rendering;
using Foundation;
using CoreFoundation;
using CoreGraphics;
using AppKit;
using ZXing.Common;
namespace ZXing.Mobile
{
public class BitmapRenderer : IBarcodeRenderer<NSImage>
{
public NSImage Render(BitMatrix matrix, BarcodeFormat format, string content)
{
return Rende... | apache-2.0 | C# |
5818ed4c8c66bb749a83e700c16fde831ba56b4c | Remove unused DI resolution | smoogipoo/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,ppy/osu,smoogipoo/osu | osu.Game/Skinning/LegacyAccuracyCounter.cs | osu.Game/Skinning/LegacyAccuracyCounter.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.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics.Sprites;
using osu.Game.Screens.Play;
using osu.Game.Screens.Play.HUD;
using osuTK;
... | // 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.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics.Sprites;
using osu.Game.Screens.Play;
using osu.Game.Screens.Play.HUD;
using osuTK;
... | mit | C# |
322279c9abd719e95e4b6a8c6028c45996fe21ce | handle some invalid error outputs | poxet/tharga-console | Tharga.Toolkit.Console/Helpers/ExceptionExtension.cs | Tharga.Toolkit.Console/Helpers/ExceptionExtension.cs | using System;
using System.Collections;
using System.Linq;
using System.Text;
namespace Tharga.Toolkit.Console.Helpers
{
internal static class ExceptionExtension
{
public static string ToFormattedString(this Exception exception)
{
return ToFormattedString(exception, 0).TrimEnd(Envir... | using System;
using System.Collections;
using System.Linq;
using System.Text;
namespace Tharga.Toolkit.Console.Helpers
{
internal static class ExceptionExtension
{
public static string ToFormattedString(this Exception exception)
{
return ToFormattedString(exception, 0).TrimEnd(Envir... | mit | C# |
08d7c2df703bd60b364d43308f0bdb432f79b2e6 | Fix extra hard-rock flipping for sliders | ppy/osu,johnneijzen/osu,ppy/osu,EVAST9919/osu,naoey/osu,NeoAdonis/osu,ppy/osu,naoey/osu,smoogipoo/osu,peppy/osu,naoey/osu,peppy/osu,EVAST9919/osu,DrabWeb/osu,2yangk23/osu,peppy/osu,DrabWeb/osu,ZLima12/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu-new,johnneijzen/osu,smoogipooo/osu,NeoAdonis/osu,2yangk23/osu,NeoAdon... | osu.Game.Rulesets.Osu/Mods/OsuModHardRock.cs | osu.Game.Rulesets.Osu/Mods/OsuModHardRock.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 System.Linq;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Osu.Obje... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Linq;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Osu.Obje... | mit | C# |
b20972d2d812492dbd5c809f67b27b5bb010fdb5 | Add a hang mitigating timeout to CSharpBuild.BuildWithCommandLine | diryboy/roslyn,genlu/roslyn,brettfo/roslyn,ErikSchierboom/roslyn,dotnet/roslyn,heejaechang/roslyn,AlekseyTs/roslyn,brettfo/roslyn,AlekseyTs/roslyn,mavasani/roslyn,mgoertz-msft/roslyn,gafter/roslyn,wvdd007/roslyn,heejaechang/roslyn,weltkante/roslyn,tannergooding/roslyn,stephentoub/roslyn,brettfo/roslyn,shyamnamboodiripa... | src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpBuild.cs | src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpBuild.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.Diagnostics;
using System.IO;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Micros... | // 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.Diagnostics;
using System.IO;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Micros... | mit | C# |
21b6f8501bfaa28ef51f79a43fe8a30777c74cd9 | Create 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# |
9567abb6ce15b29cc59ab36c0172d31aa9c661fe | Use dot instead of dash to separate build metadata | ParticularLabs/GitVersion,GitTools/GitVersion,asbjornu/GitVersion,ermshiperete/GitVersion,gep13/GitVersion,ermshiperete/GitVersion,asbjornu/GitVersion,ermshiperete/GitVersion,GitTools/GitVersion,ermshiperete/GitVersion,ParticularLabs/GitVersion,dazinator/GitVersion,dazinator/GitVersion,gep13/GitVersion | build/version.cake | build/version.cake | public class BuildVersion
{
public GitVersion GitVersion { get; private set; }
public string Version { get; private set; }
public string Milestone { get; private set; }
public string SemVersion { get; private set; }
public string GemVersion { get; private set; }
public string VsixVersion { get; ... | public class BuildVersion
{
public GitVersion GitVersion { get; private set; }
public string Version { get; private set; }
public string Milestone { get; private set; }
public string SemVersion { get; private set; }
public string GemVersion { get; private set; }
public string VsixVersion { get; ... | mit | C# |
ad22cb7a014b843189d257d5929c7d89f93b5cc5 | Update version number. | Damnae/storybrew | editor/Properties/AssemblyInfo.cs | editor/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("storybrew editor")]
[assembly: AssemblyDe... | 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("storybrew editor")]
[assembly: AssemblyDe... | mit | C# |
2408d6f4a97defc01d3efd0b221b9f8481d1efaf | Update version number. | Damnae/storybrew | editor/Properties/AssemblyInfo.cs | editor/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("storybrew editor")]
[assembly: AssemblyDe... | 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("storybrew editor")]
[assembly: AssemblyDe... | mit | C# |
e7ef79cd48233d4da90d27bb69eadef6707cf314 | make internals visible to unit test project | dkackman/FakeHttp | MockHttp/Properties/AssemblyInfo.cs | MockHttp/Properties/AssemblyInfo.cs | 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... | 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# |
6d1bfed9e4e6169100ac07a4cbb7f41883f46942 | Update version number. | Damnae/storybrew | editor/Properties/AssemblyInfo.cs | editor/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("storybrew editor")]
[assembly: AssemblyDe... | 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("storybrew editor")]
[assembly: AssemblyDe... | mit | C# |
6ed3d86ae24e5e88f1ff19e3fa37c1aba4609946 | Refactor Address equality code | ajlopez/BlockchainSharp | Src/BlockchainSharp/Core/Address.cs | Src/BlockchainSharp/Core/Address.cs | namespace BlockchainSharp.Core
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class Address
{
private static Random random = new Random();
private byte[] bytes;
public Address()
{
this.by... | namespace BlockchainSharp.Core
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class Address
{
private static Random random = new Random();
private byte[] bytes;
public Address()
{
this.by... | mit | C# |
43a1db3645ecf7c74f22099837d822a12bce3fd7 | Fix preview not updating on TextField with type of "Predefined List" (#3763) | stevetayloruk/Orchard2,xkproject/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,OrchardCMS/Brochard,petedavis/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2,xkproject/Orchard2,stevetayloruk/Or... | src/OrchardCore.Modules/OrchardCore.ContentFields/Views/TextField-PredefinedList.Edit.cshtml | src/OrchardCore.Modules/OrchardCore.ContentFields/Views/TextField-PredefinedList.Edit.cshtml | @model OrchardCore.ContentFields.ViewModels.EditTextFieldViewModel
@using OrchardCore.ContentFields.Settings
@using OrchardCore.ContentManagement.Metadata.Models
@{
var settings = Model.PartFieldDefinition.Settings.ToObject<TextFieldSettings>();
var listSettings = Model.PartFieldDefinition.GetSettings<TextFiel... | @model OrchardCore.ContentFields.ViewModels.EditTextFieldViewModel
@using OrchardCore.ContentFields.Settings
@using OrchardCore.ContentManagement.Metadata.Models
@{
var settings = Model.PartFieldDefinition.Settings.ToObject<TextFieldSettings>();
var listSettings = Model.PartFieldDefinition.GetSettings<TextFiel... | bsd-3-clause | C# |
a34f4909bad85ebdb7777b2fe8a823d879f3c48d | Fix #445 - Update link for cron expression. | Azure/azure-webjobs-sdk-extensions | src/WebJobs.Extensions/Extensions/Timers/TimerTriggerAttribute.cs | src/WebJobs.Extensions/Extensions/Timers/TimerTriggerAttribute.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using Microsoft.Azure.WebJobs.Description;
using Microsoft.Azure.WebJobs.Extensions.Timers;
namespace Microsoft.Azure.WebJobs
{
/// <summary>
//... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using Microsoft.Azure.WebJobs.Description;
using Microsoft.Azure.WebJobs.Extensions.Timers;
namespace Microsoft.Azure.WebJobs
{
/// <summary>
//... | mit | C# |
e527793530d57d0926bb60996400defd0a35e2e4 | Fix title | proyecto26/RestClient | demo/Assets/MainScript.cs | demo/Assets/MainScript.cs | using UnityEngine;
using UnityEditor;
using Models;
using Proyecto26;
using System.Collections.Generic;
public class MainScript : MonoBehaviour {
string basePath = "https://jsonplaceholder.typicode.com";
public void Get(){
// We can add default request headers for all requests
RestClient.DefaultRequestHeader... | using UnityEngine;
using UnityEditor;
using Models;
using Proyecto26;
using System.Collections.Generic;
public class MainScript : MonoBehaviour {
string basePath = "https://jsonplaceholder.typicode.com";
public void Get(){
// We can add default request headers for all requests
RestClient.DefaultRequestHeader... | mit | C# |
0a15825bcd1e7ad69abd3fdc10e2653f4387a23f | Add comments for XBox360ControllerManager static class | mina-asham/XBox360ControllerManager | XBox360ControllerManager/XBox360.cs | XBox360ControllerManager/XBox360.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
namespace XBox360ControllerManager
{
/// <summary>
/// Static class for managing XBox 360 controllers
/// </summary>
public static class XBox360
{
/// <summary>
/// XInput DLL, ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
namespace XBox360ControllerManager
{
public static class XBox360
{
//Might need to change on systems earlier to Windows 8
private const String XInputDll = "XInput1_4.dll";
[DllImpo... | mit | C# |
466a0be84c8a2753aae4e5cec2cffbe262488dcd | Implement HasVisibleChildren on UmbracoNavigationRedirectElement | Gibe/Gibe.Navigation | Gibe.Navigation.Umbraco/Models/UmbracoNavigationRedirectElement.cs | Gibe.Navigation.Umbraco/Models/UmbracoNavigationRedirectElement.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Gibe.DittoProcessors.Processors;
using Gibe.DittoProcessors.Processors.Models;
using Gibe.Navigation.Models;
using Our.Umbraco.Ditto;
namespace Gibe.Navigation.Umbraco... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Gibe.DittoProcessors.Processors;
using Gibe.DittoProcessors.Processors.Models;
using Gibe.Navigation.Models;
using Our.Umbraco.Ditto;
namespace Gibe.Navigation.Umbraco... | mit | C# |
0c79c18b2ecbb6b61dffd2ba18ce8a39cec5c77d | Clean R type | michael-reichenauer/GitMind | GitMind/Utils/R.cs | GitMind/Utils/R.cs | using System;
namespace GitMind.Utils
{
public class R
{
public static R Ok = new R(Error.None);
public static R NoValue = new R(Error.NoValue);
protected R(Error error)
{
Error = error;
}
public Error Error { get; }
public bool IsFaulted => Error != Error.None;
public bool IsOk => Error == E... | using System;
namespace GitMind.Utils
{
public class R
{
public static R Ok = new R(Error.None);
public static R NoValue = new R(Error.NoValue);
protected R(Error error)
{
Error = error;
}
public Error Error { get; }
public bool IsFaulted => Error != Error.None;
public bool IsOk => Error == ... | mit | C# |
1bed1d787013b62eb7df465275fe7e50e7ccdedb | Update Program.cs | IanMcT/StockMarketGame | SMG/SMG/Program.cs | SMG/SMG/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SMG
{
static class Program
{
public static User user;
public static double difficulty = 1000.00;
/// <summary>
/// The main entry p... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SMG
{
static class Program
{
public static User user;
public static User difficulty;
/// <summary>
/// The main entry point for the... | apache-2.0 | C# |
551d1ccddaba4d35b25dd869bb286296cd15ee0f | change version tag in nuspec for test package | secana/CakeApp | build.cake | build.cake |
/*
1) clean old packages DONE
2) ensure all needed directories exist DONE
3) package test version of template
4) install test version of template
5) create new sln with test version
6) test test version
7) if successful: package to release version
8) publish package to nuget
*/
var target = Argument("target", "Defaul... |
/*
1) clean old packages
2) ensure all needed directories exist
3) package test version of template
4) install test version of template
5) create new sln with test version
6) test test version
7) if successful: package to release version
8) publish package to nuget
*/
var target = Argument("target", "Default");
var t... | apache-2.0 | C# |
431b934fb577550c901a375859a7e1af96f44a3f | Add generated Tags class | GStreamer/gstreamer-sharp,freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,GStreamer/gstreamer-sharp,Forage/gstreamer-sharp,Forage/gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,Forage/gstreamer-sharp,freedesktop-unofficia... | gstreamer-sharp/Tags.cs | gstreamer-sharp/Tags.cs | namespace Gst {
public static class Tags {
public const string Title = "title";
public const string TitleSortname = "title-sortname";
public const string Artist = "artist";
public const string ArtistSortname = "musicbrainz-sortname";
public const string Album = "album";
public const string Alb... | namespace Gst {
public static class Tags {
public const string Title = "title";
public const string TitleSortname = "title-sortname";
public const string Artist = "artist";
public const string ArtistSortname = "musicbrainz-sortname";
public const string Album = "album";
public const string AlbumSortn... | lgpl-2.1 | C# |
8de75f23148c86fc07eb661e9c10975c1086ab61 | Add sentence segmentation example to Program.cs | hrzafer/nuve | nuve.client/Program.cs | nuve.client/Program.cs | using System;
using Nuve.Lang;
using Nuve.Sentence;
using Nuve.Tokenizers;
namespace Nuve.Client
{
public class Program
{
private static readonly Language Turkish = LanguageFactory.Create(LanguageType.Turkish);
private static void Main(string[] args)
{
//Benchmarker.TestWi... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Nuve.Client.Benchmark;
using Nuve.Lang;
namespace Nuve.Client
{
public class Program
{
private static readonly Language Turkish = LanguageFactory.Create(LanguageType.Turkish);
... | mit | C# |
d6f54cbf76832964bb1682be61076adf8716eb27 | Update CompactBinaryBondSerializer.cs | tiksn/TIKSN-Framework | TIKSN.Core/Serialization/Bond/CompactBinaryBondSerializer.cs | TIKSN.Core/Serialization/Bond/CompactBinaryBondSerializer.cs | using Bond.IO.Safe;
using Bond.Protocols;
namespace TIKSN.Serialization.Bond
{
public class CompactBinaryBondSerializer : SerializerBase<byte[]>
{
protected override byte[] SerializeInternal<T>(T obj)
{
var output = new OutputBuffer();
var writer = new CompactBinaryWrit... | using Bond.IO.Safe;
using Bond.Protocols;
namespace TIKSN.Serialization.Bond
{
public class CompactBinaryBondSerializer : SerializerBase<byte[]>
{
protected override byte[] SerializeInternal<T>(T obj)
{
var output = new OutputBuffer();
var writer = new CompactBinaryWrit... | mit | C# |
d25add8c53764a6569b231a9b1778a29a0f317bd | Hide results until results are available | thabofletcher/psychic-dangerzone,thabofletcher/psychic-dangerzone | psychic-dangerzone/Views/Home/Index.cshtml | psychic-dangerzone/Views/Home/Index.cshtml | @model string
<div class="container">
<form action="/" method="POST">
<div class="control-group">
<div class="controls controls-row">
<div class="input-prepend">
<span class="add-on">Ask me</span>
<input id="query" name="query" class="inp... | @model string
<div class="container">
<form action="/" method="POST">
<div class="control-group">
<div class="controls controls-row">
<div class="input-prepend">
<span class="add-on">Ask me</span>
<input id="query" name="query" class="inp... | mit | C# |
7dfe507844a97613298c6501646a470b60c3b9e4 | Remove bad detection of application quit (was called when reloading current scene) | clanofthecloud/unity-sdk,xtralifecloud/unity-sdk,clanofthecloud/unity-sdk,xtralifecloud/unity-sdk,clanofthecloud/unity-sdk,clanofthecloud/unity-sdk,clanofthecloud/unity-sdk,clanofthecloud/unity-sdk,xtralifecloud/unity-sdk,xtralifecloud/unity-sdk | CotcSdk/HighLevel/CotcGameObject.cs | CotcSdk/HighLevel/CotcGameObject.cs | using System;
using UnityEngine;
namespace CotcSdk
{
/// @ingroup main_classes
/// <summary>
/// Place this object on all scenes where you would like to use CotC functionality, as described @ref cotcgameobject_ref "in this tutorial".
///
/// Then call #GetCloud to get a Cloud object, which provides an entry poi... | using System;
using UnityEngine;
namespace CotcSdk
{
/// @ingroup main_classes
/// <summary>
/// Place this object on all scenes where you would like to use CotC functionality, as described @ref cotcgameobject_ref "in this tutorial".
///
/// Then call #GetCloud to get a Cloud object, which provides an entry poi... | mit | C# |
f25c61bee487035b16b3dc3d8e035d8199849a72 | remove blank line | peppy/osu,2yangk23/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,EVAST9919/osu,NeoAdonis/osu,ppy/osu,ZLima12/osu,2yangk23/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,ZLima12/osu,NeoAdonis/osu,UselessToucan/osu,johnneijzen/osu,peppy/osu,DrabWeb/osu,smoogipooo/osu,ppy/osu,DrabWeb/osu,smoogipoo/osu,DrabWeb/osu,johnneijzen... | osu.iOS/Application.cs | osu.iOS/Application.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 UIKit;
namespace osu.iOS
{
public class Application
{
public static void Main(string[] args)
{
UIApplication.Main(args, null, ... | // 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 UIKit;
namespace osu.iOS
{
public class Application
{
public static void Main(string[] args)
{
UIApplication.Main(args, null, ... | mit | C# |
64348dbc4ee0c31f3565c0e1f7b2db38cb27bfd3 | Fix loop flag. | nessos/Eff | src/Eff.Core/EffExecutor.cs | src/Eff.Core/EffExecutor.cs | #pragma warning disable 1998
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace Eff.Core
{
public static class EffExecutor
{
public static async Task<TResult> Run<TResult>(this E... | #pragma warning disable 1998
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace Eff.Core
{
public static class EffExecutor
{
public static async Task<TResult> Run<TResult>(this E... | mit | C# |
2f084aa75a4fe2b0bfad0e0b003a67f4dfa3512f | Update EnumerableExtensions.cs | keith-hall/Extensions,keith-hall/Extensions | src/EnumerableExtensions.cs | src/EnumerableExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
public static class EnumerableExtensions
{
public static IEnumerable<T> Shuffle<T>(this IEnumerable<T> source, Random rng)
{ // http://stackoverflow.com/questions/1287567/is-using-random-and-orderby-a-good-shuffle-algorithm
T[] elements = source.To... | using System;
using System.Collections.Generic;
using System.Linq;
public static class EnumerableExtensions
{
public static IEnumerable<T> Shuffle<T>(this IEnumerable<T> source, Random rng)
{ // http://stackoverflow.com/questions/1287567/is-using-random-and-orderby-a-good-shuffle-algorithm
T[] elements = source.To... | apache-2.0 | C# |
0917ea6da7d4a789aee9dd5e1fe7f7df8999d17c | Use passed in handedness when initializing hand tracking events | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,vladkol/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,vladkol/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,vladkol/MixedRealityToolkit-Unity | Assets/MixedRealityToolkit/EventDatum/Input/HandTrackingInputEventData.cs | Assets/MixedRealityToolkit/EventDatum/Input/HandTrackingInputEventData.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Input;
using Microsoft.MixedReality.Toolkit.Utilities;
using UnityEngine;
using UnityEngine.EventSystems;
namespace Microsoft.M... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Input;
using Microsoft.MixedReality.Toolkit.Utilities;
using UnityEngine;
using UnityEngine.EventSystems;
namespace Microsoft.M... | mit | C# |
199fb7cdcd582105a9acfb10abddb11562b18df8 | Fix instantiation of generic state objects. | gigya/orleans,shayhatsor/orleans,waynemunro/orleans,cato541265/orleans,tsibelman/orleans,NaseUkolyCZ/orleans,dVakulen/orleans,dVakulen/orleans,ashkan-saeedi-mazdeh/orleans,dariobottazzi/orleans,ReubenBond/orleans,jason-bragg/orleans,kylemc/orleans,bstauff/orleans,ticup/orleans,xclayl/orleans,Joshua-Ferguson/orleans,gab... | src/OrleansRuntime/GrainTypeManager/GenericGrainTypeData.cs | src/OrleansRuntime/GrainTypeManager/GenericGrainTypeData.cs | /*
Project Orleans Cloud Service SDK ver. 1.0
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,
inc... | /*
Project Orleans Cloud Service SDK ver. 1.0
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,
inc... | mit | C# |
c61547ba1c1fecaad0b99c6035a8f9088ed6f036 | Remove period from response JSON property name (#7) | wealth-farm/SparkPost.Net | src/WealthFarm.SparkPost/Transmission/TransmissionResult.cs | src/WealthFarm.SparkPost/Transmission/TransmissionResult.cs | using Newtonsoft.Json;
namespace WealthFarm.SparkPost
{
/// <summary>
/// The result from sending a transmission.
/// </summary>
public class TransmissionResult
{
/// <summary>
/// Gets or sets the transmission ID.
/// </summary>
[JsonProperty("id")]
... | using Newtonsoft.Json;
namespace WealthFarm.SparkPost
{
/// <summary>
/// The result from sending a transmission.
/// </summary>
public class TransmissionResult
{
/// <summary>
/// Gets or sets the transmission ID.
/// </summary>
[JsonProperty("id")]
... | mit | C# |
2b18c031f71de71498bdce65ed83b1e08d8905a5 | Fix commit | michael-reichenauer/GitMind | GitMind/Utils/Git/Private/GitCmd.cs | GitMind/Utils/Git/Private/GitCmd.cs | using System;
using System.IO;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using GitMind.ApplicationHandling;
using GitMind.Common.Tracking;
using GitMind.Utils.OsSystem;
namespace GitMind.Utils.Git.Private
{
internal class GitCmd : IGitCmd
{
// git config --list --show-origin
... | using System;
using System.IO;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using GitMind.ApplicationHandling;
using GitMind.Common.Tracking;
using GitMind.Utils.OsSystem;
namespace GitMind.Utils.Git.Private
{
internal class GitCmd : IGitCmd
{
// git config --list --show-origin
... | mit | C# |
1efa09e3d3b2f74d5d5fcfb2a847410f6bacaaf1 | Fix parameter order in ArgumentException constructor | ForNeVeR/wpf-math | src/WpfMath/Utils/Result.cs | src/WpfMath/Utils/Result.cs | using System;
namespace WpfMath.Utils
{
internal static class Result
{
public static Result<TValue> Ok<TValue>(TValue value) => new Result<TValue>(value, null);
public static Result<TValue> Error<TValue>(Exception error) => new Result<TValue>(default, error);
}
internal readonly struct... | using System;
namespace WpfMath.Utils
{
internal static class Result
{
public static Result<TValue> Ok<TValue>(TValue value) => new Result<TValue>(value, null);
public static Result<TValue> Error<TValue>(Exception error) => new Result<TValue>(default, error);
}
internal readonly struct... | mit | C# |
0901333ef3d1cda32dca3fe26e8513679ed01147 | add pinned property in comment | NeoAdonis/osu,peppy/osu-new,ppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu | osu.Game/Online/API/Requests/Responses/Comment.cs | osu.Game/Online/API/Requests/Responses/Comment.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 Newtonsoft.Json;
using osu.Game.Users;
using System;
namespace osu.Game.Online.API.Requests.Responses
{
public class Comment
{
[JsonProperty(@"id"... | // 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 Newtonsoft.Json;
using osu.Game.Users;
using System;
namespace osu.Game.Online.API.Requests.Responses
{
public class Comment
{
[JsonProperty(@"id"... | mit | C# |
a6a03df344eafe79b155e77fd4870c5845d4ee97 | Add test for QueryOne method | roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University | R7.University.Tests/Data/DataRepositoryTests.cs | R7.University.Tests/Data/DataRepositoryTests.cs | //
// DataRepositoryTests.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2016 Roman M. Yagodin
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundati... | //
// DataRepositoryTests.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2016 Roman M. Yagodin
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundati... | agpl-3.0 | C# |
76e0c984c7df771244b0479bc2f49d35efd87fc0 | Remove whitespace | appharbor/appharbor-cli | src/AppHarbor.Tests/CommandDispatcherTest.cs | src/AppHarbor.Tests/CommandDispatcherTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Castle.MicroKernel;
using Moq;
using Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests
{
public class CommandDispatcherTest
{
public class FooCommand : ICommand
{
public virtual void Execute(string[] arguments)
{
}
}
[... | using System;
using System.Collections.Generic;
using System.Linq;
using Castle.MicroKernel;
using Moq;
using Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests
{
public class CommandDispatcherTest
{
public class FooCommand : ICommand
{
public virtual void Execute(string[] arguments)
{
}
}
[... | mit | C# |
eb53a73011b503a2552dceeaa8a10bfda8d11330 | implement new .loadAllEventsSince() | Pondidum/Ledger.Stores.Fs,Pondidum/Ledger.Stores.Fs | Ledger.Stores.Fs/FileStoreReader.cs | Ledger.Stores.Fs/FileStoreReader.cs | using System.Collections.Generic;
using System.Linq;
using Ledger.Infrastructure;
namespace Ledger.Stores.Fs
{
public class FileStoreReader<TKey> : FileStore, IStoreReader<TKey>
{
private readonly string _eventPath;
private readonly string _snapshotPath;
public FileStoreReader(IFileSystem fileSystem, string e... | using System.Collections.Generic;
using System.Linq;
using Ledger.Infrastructure;
namespace Ledger.Stores.Fs
{
public class FileStoreReader<TKey> : FileStore, IStoreReader<TKey>
{
private readonly string _eventPath;
private readonly string _snapshotPath;
public FileStoreReader(IFileSystem fileSystem, string e... | lgpl-2.1 | C# |
c6e0061711b7bc99c87a64f96a3b0ec687aad3a8 | Fix code analysis warnings in EntityFramework component | endian675/ignite,shroman/ignite,xtern/ignite,andrey-kuznetsov/ignite,endian675/ignite,ascherbakoff/ignite,ntikhonov/ignite,WilliamDo/ignite,voipp/ignite,StalkXT/ignite,sk0x50/ignite,NSAmelchev/ignite,BiryukovVA/ignite,ntikhonov/ignite,vldpyatkov/ignite,leveyj/ignite,amirakhmedov/ignite,ntikhonov/ignite,SomeFire/ignite,... | modules/platforms/dotnet/Apache.Ignite.EntityFramework/DbCachingPolicy.cs | modules/platforms/dotnet/Apache.Ignite.EntityFramework/DbCachingPolicy.cs | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | apache-2.0 | C# |
da6ee05dd689646d5c4831d9c1d7cc149754d184 | Fix not being able to drag non-snaked sliders | UselessToucan/osu,peppy/osu,EVAST9919/osu,smoogipoo/osu,2yangk23/osu,smoogipoo/osu,johnneijzen/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,johnneijzen/osu,2yangk23/osu,EVAST9919/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu | osu.Game.Rulesets.Osu/Edit/Blueprints/Sliders/SliderSelectionBlueprint.cs | osu.Game.Rulesets.Osu/Edit/Blueprints/Sliders/SliderSelectionBlueprint.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.Graphics;
using osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components;
using osu.Game.Rulesets.Osu.Objects;
using osu.Game.Rulesets.Osu.Objects.Dr... | // 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.Graphics;
using osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components;
using osu.Game.Rulesets.Osu.Objects;
using osu.Game.Rulesets.Osu.Objects.Dr... | mit | C# |
77ab4f24365c1b4eb563ea9995204e4071d9571b | remove blank spaces | pthivierge/web-service-reader-for-pi-system,pthivierge/web-service-reader-for-pi-system,pthivierge/data-collection-service-for-pi-system,pthivierge/data-collection-service-for-pi-system,pthivierge/web-service-reader-for-pi-system,pthivierge/data-collection-service-for-pi-system | Service/Program.cs | Service/Program.cs | using System;
using System.Configuration.Install;
using System.Reflection;
using System.ServiceProcess;
using log4net;
namespace FDS.Service
{
internal static class Program
{
private static readonly ILog _logger = LogManager.GetLogger(typeof (Program));
/// <summary>
/// Service Ma... | using System;
using System.Configuration.Install;
using System.Reflection;
using System.ServiceProcess;
using log4net;
namespace FDS.Service
{
internal static class Program
{
private static readonly ILog _logger = LogManager.GetLogger(typeof (Program));
/// <summary>
/// Service Ma... | apache-2.0 | C# |
01829f3a614964bef76476aff4355f3b3e595378 | Update ShapeRenderer.cs | wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D | src/Draw2D.Core/Renderers/ShapeRenderer.cs | src/Draw2D.Core/Renderers/ShapeRenderer.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.Collections.Generic;
using Draw2D.Core.Style;
namespace Draw2D.Core.Renderers
{
public abstract class ShapeRenderer : ObservableObject
{
... | // 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.Collections.Generic;
using Draw2D.Core.Shapes;
using Draw2D.Core.Style;
namespace Draw2D.Core.Renderers
{
public abstract class ShapeRenderer : O... | mit | C# |
393b566966c5cd8d6be9b765ebd79e8e9280f1fd | Make PercentageCounter use FormatAccuracy | EVAST9919/osu,NeoAdonis/osu,NeoAdonis/osu,2yangk23/osu,smoogipoo/osu,ppy/osu,2yangk23/osu,johnneijzen/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,smoogipooo/osu,peppy/osu,EVAST9919/osu,johnneijzen/osu,UselessToucan/osu,peppy/osu-new,smoogipoo/osu | osu.Game/Graphics/UserInterface/PercentageCounter.cs | osu.Game/Graphics/UserInterface/PercentageCounter.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 osu.Framework.Allocation;
using osu.Game.Utils;
namespace osu.Game.Graphics.UserInterface
{
/// <summary>
/// Used as an accuracy counter. R... | // 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.Allocation;
namespace osu.Game.Graphics.UserInterface
{
/// <summary>
/// Used as an accuracy counter. Represented visually as... | mit | C# |
cfc28164d660eaaffac600543586180175da540a | Document code editor | lambdacasserole/sulfide | Sulfide/CodeDocument.cs | Sulfide/CodeDocument.cs | using System.IO;
using System.Windows.Forms;
using System.Windows.Forms.Integration;
using System.Windows.Media;
using ICSharpCode.AvalonEdit;
using WeifenLuo.WinFormsUI.Docking;
namespace Sulfide
{
/// <summary>
/// Represents a document open in a code editor tab.
/// </summary>
public class CodeDo... | using System.IO;
using System.Windows.Forms;
using System.Windows.Forms.Integration;
using System.Windows.Media;
using ICSharpCode.AvalonEdit;
using WeifenLuo.WinFormsUI.Docking;
namespace Sulfide
{
public class CodeDocument : DockContent, IDocument
{
private string _openFilePath;
public Te... | mit | C# |
380859e06e11137716ec7b2748214a58a213b0b4 | Set clock on video directly; ignore long frames | UselessToucan/osu,johnneijzen/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,johnneijzen/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,EVAST9919/osu,NeoAdonis/osu,smoogipooo/osu,EVAST9919/osu,NeoAdonis/osu,peppy/osu,peppy/osu,ppy/osu,2yangk23/osu,2yangk23/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new | osu.Game.Tournament/Components/TourneyVideo.cs | osu.Game.Tournament/Components/TourneyVideo.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.IO;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Colour;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using os... | // 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.IO;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Colour;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using os... | mit | C# |
c7ae06a8c2c192d26aa2b9ce7c6e7719f3e2ca7d | Fix occasional grey text in textboxes | lytico/xwt,hwthomas/xwt,cra0zy/xwt,akrisiun/xwt,residuum/xwt,antmicro/xwt,mminns/xwt,hamekoz/xwt,mminns/xwt,directhex/xwt,iainx/xwt,TheBrainTech/xwt,steffenWi/xwt,mono/xwt,sevoku/xwt | Xwt.WPF/Xwt.WPFBackend/ExTextBox.cs | Xwt.WPF/Xwt.WPFBackend/ExTextBox.cs | //
// ExTextBox.cs
//
// Author:
// Eric Maupin <ermau@xamarin.com>
//
// Copyright (c) 2012 Xamarin, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restrictio... | //
// ExTextBox.cs
//
// Author:
// Eric Maupin <ermau@xamarin.com>
//
// Copyright (c) 2012 Xamarin, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restrictio... | mit | C# |
aca47936c8b750b30663298a1adfbc4406a3a645 | Add Research Category. | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform | src/CompetitionPlatform/Data/ProjectCategory/ProjectCategoriesRepository.cs | src/CompetitionPlatform/Data/ProjectCategory/ProjectCategoriesRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CompetitionPlatform.Data.ProjectCategory;
namespace CompetitionPlatform.Data.ProjectCategory
{
public class ProjectCategoriesRepository : IProjectCategoriesRepository
{
public List<string> GetCategor... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CompetitionPlatform.Data.ProjectCategory;
namespace CompetitionPlatform.Data.ProjectCategory
{
public class ProjectCategoriesRepository : IProjectCategoriesRepository
{
public List<string> GetCategor... | mit | C# |
d207646599e45c78d3f46ff17aecf1d4dafbf2b7 | test csharp 7 | tipunch74/MaterialDesignInXamlToolkit,ButchersBoy/MaterialDesignInXamlToolkit,DingpingZhang/MaterialDesignInXamlToolkit,ButchersBoy/MaterialDesignInXamlToolkit,tipunch74/MaterialDesignInXamlToolkit,tipunch74/MaterialDesignInXamlToolkit,ButchersBoy/MaterialDesignInXamlToolkit | MaterialDesignThemes.Wpf/Converters/MathMultipleConverter.cs | MaterialDesignThemes.Wpf/Converters/MathMultipleConverter.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
namespace MaterialDesignThemes.Wpf.Converters
{
public sealed class MathMultipleConverter : IMultiValueConverter
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
namespace MaterialDesignThemes.Wpf.Converters
{
public sealed class MathMultipleConverter : IMultiValueConverter
... | mit | C# |
0d13eaef34542d17ccec21f88019e5a1c1199c17 | Adjust window width to ensure popout window -> Edit is targeted | jlewin/MatterControl,rytz/MatterControl,mmoening/MatterControl,rytz/MatterControl,tellingmachine/MatterControl,jlewin/MatterControl,mmoening/MatterControl,larsbrubaker/MatterControl,rytz/MatterControl,larsbrubaker/MatterControl,tellingmachine/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,jlewi... | Tests/MatterControl.AutomationTests/SqLiteLibraryProvider.cs | Tests/MatterControl.AutomationTests/SqLiteLibraryProvider.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using MatterHackers.Agg.UI;
using MatterHackers.Agg.UI.Tests;
using MatterHackers.GuiAutomation;
using MatterHackers.MatterControl.PartPreviewWindow;
using NUnit.Framework;
namespace MatterHackers.MatterControl.Tests.Automation
{
[TestFixture, Categ... | using System;
using System.Threading;
using System.Threading.Tasks;
using MatterHackers.Agg.UI;
using MatterHackers.Agg.UI.Tests;
using MatterHackers.GuiAutomation;
using MatterHackers.MatterControl.PartPreviewWindow;
using NUnit.Framework;
namespace MatterHackers.MatterControl.Tests.Automation
{
[TestFixture, Categ... | bsd-2-clause | C# |
be4e52cfc4785711915e3106c323cde6cba5f4a9 | Use discards to fix CI complaints | ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework | osu.Framework.Tests/Containers/TestSceneEnumeratorVersion.cs | osu.Framework.Tests/Containers/TestSceneEnumeratorVersion.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.
#nullable disable
using System;
using NUnit.Framework;
using osu.Framework.Graphics.Containers;
using osu.Framework.Tests.Visual;
namespace osu.Framework.Tests.Contain... | // 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.
#nullable disable
using System;
using NUnit.Framework;
using osu.Framework.Graphics.Containers;
using osu.Framework.Tests.Visual;
namespace osu.Framework.Tests.Contain... | mit | C# |
977e635db0c5b27145db7025f20cc60b2ceaf426 | add usage example | fredatgithub/AtlasReloaded | UsageConsole/Program.cs | UsageConsole/Program.cs | using System;
using Ritter.Atlas;
namespace UsageConsole
{
class Program
{
static void Main()
{
Action<string> Display = s => Console.WriteLine(s);
var zipcode = new ZipCode { Id = "17011" };
var zipcode2 = new ZipCode { Id = "90210" };
var zipcode3 = new ZipCode { Id = "75017" };
... | using System;
using Ritter.Atlas;
namespace UsageConsole
{
class Program
{
static void Main()
{
Action<string> Display = s => Console.WriteLine(s);
var zipcode = new ZipCode { Id = "17011" };
var zipcode2 = new ZipCode { Id = "90210" };
var zipcode3 = new ZipCode { Id = "75017" };
... | mit | C# |
c80b6417aa363ee38a3869ad78119ac3fae8e3b9 | Remove *Modifier directives | SuperJMN/Avalonia,wieslawsoltes/Perspex,Perspex/Perspex,SuperJMN/Avalonia,Perspex/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,grokys/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,grokys/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,wiesla... | src/Markup/Avalonia.Markup.Xaml.Loader/CompilerExtensions/Transformers/IgnoredDirectivesTransformer.cs | src/Markup/Avalonia.Markup.Xaml.Loader/CompilerExtensions/Transformers/IgnoredDirectivesTransformer.cs | using System.Linq;
using XamlX;
using XamlX.Ast;
using XamlX.Transform;
namespace Avalonia.Markup.Xaml.XamlIl.CompilerExtensions.Transformers
{
class IgnoredDirectivesTransformer : IXamlAstTransformer
{
public IXamlAstNode Transform(AstTransformationContext context, IXamlAstNode node)
{
... | using System.Linq;
using XamlX;
using XamlX.Ast;
using XamlX.Transform;
namespace Avalonia.Markup.Xaml.XamlIl.CompilerExtensions.Transformers
{
class IgnoredDirectivesTransformer : IXamlAstTransformer
{
public IXamlAstNode Transform(AstTransformationContext context, IXamlAstNode node)
{
... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.