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 |
|---|---|---|---|---|---|---|---|---|
f80d1016394c2240912ad47b7b14ecc8f1d709ff | Change aliasing of Modded Showdown Import | architdate/PKHeX-Auto-Legality-Mod,architdate/PKHeX-Auto-Legality-Mod | AutoLegality/AutoLegality.Designer.cs | AutoLegality/AutoLegality.Designer.cs | namespace PKHeX.WinForms
{
partial class Main
{
public System.Windows.Forms.ToolStripMenuItem EnableAutoLegality(System.ComponentModel.ComponentResourceManager resources)
{
this.Menu_ShowdownImportPKMModded = new System.Windows.Forms.ToolStripMenuItem();
this.Menu_Showdow... | namespace PKHeX.WinForms
{
partial class Main
{
public System.Windows.Forms.ToolStripMenuItem EnableAutoLegality(System.ComponentModel.ComponentResourceManager resources)
{
this.Menu_ShowdownImportPKMModded = new System.Windows.Forms.ToolStripMenuItem();
this.Menu_Showdow... | mit | C# |
db24aef530993ee230e9486544d2c35302079366 | Check and add TLS 1.2 to ServicePointManager.SecurityProtocol if missing, instead of replacing existing configuration | Beanstream/beanstream-dotnet,Beanstream-DRWP/beanstream-dotnet | BamboraSDK/Data/WebCommandExecuter.cs | BamboraSDK/Data/WebCommandExecuter.cs | // The MIT License (MIT)
//
// Copyright (c) 2018 Bambora, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, ... | // The MIT License (MIT)
//
// Copyright (c) 2018 Bambora, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, ... | mit | C# |
7bdd593b78430287736fa371363a8b7354fb68b0 | Add LibraryProgramUnit documentation (closes #19) | felipebz/ndapi | Ndapi/LibraryProgramUnit.cs | Ndapi/LibraryProgramUnit.cs | using Ndapi.Core.Handles;
using Ndapi.Enums;
namespace Ndapi
{
/// <summary>
/// Represents a library program unit.
/// </summary>
public class LibraryProgramUnit : NdapiObject
{
internal LibraryProgramUnit(ObjectSafeHandle handle) : base(handle)
{
}
/// <summary>
... | using Ndapi.Core.Handles;
using Ndapi.Enums;
namespace Ndapi
{
public class LibraryProgramUnit : NdapiObject
{
internal LibraryProgramUnit(ObjectSafeHandle handle) : base(handle)
{
}
public string Text => GetStringProperty(NdapiConstants.D2FP_PGU_TXT);
public ProgramU... | mit | C# |
969d3e3f98f77cc1f375ca26c06ec8a1caa1ce1d | Improve the no-repo error message for grr | awaescher/RepoZ,awaescher/RepoZ | RepoZ.Ipc/RepoZIpcClient.cs | RepoZ.Ipc/RepoZIpcClient.cs | using System;
using System.Diagnostics;
using System.Linq;
using System.ServiceModel.Channels;
using System.Text;
using NetMQ;
using NetMQ.Sockets;
namespace RepoZ.Ipc
{
public class RepoZIpcClient
{
private string _answer;
private Repository[] _repositories;
public Result GetRepositories()... | using System;
using System.Diagnostics;
using System.Linq;
using System.ServiceModel.Channels;
using System.Text;
using NetMQ;
using NetMQ.Sockets;
namespace RepoZ.Ipc
{
public class RepoZIpcClient
{
private string _answer;
private Repository[] _repositories;
public Result GetRepositories()... | mit | C# |
3f2371145c8946a3fef9c9aee3f252c6e7f18011 | update cdn location | agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov | WebAPI.API/App_Start/BundleConfig.cs | WebAPI.API/App_Start/BundleConfig.cs | using System.Web.Optimization;
namespace WebAPI.API
{
public class BundleConfig
{
public static void RegisterBundles(BundleCollection bundles)
{
bundles.UseCdn = true;
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/Scripts/jquery-1.10.1.js... | using System.Web.Optimization;
namespace WebAPI.API
{
public class BundleConfig
{
public static void RegisterBundles(BundleCollection bundles)
{
bundles.UseCdn = true;
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/Scripts/jquery-1.10.1.js... | mit | C# |
0b3072df06101007a8dd9eb7f328891a61ec72af | Fix typo | LiquidThinking/Xenon,LiquidThinking/Xenon | Xenon.Tests/XenonTestOptionsTests.cs | Xenon.Tests/XenonTestOptionsTests.cs | using System;
using NUnit.Framework;
namespace Xenon.Tests
{
[TestFixture]
public class XenonTestOptionsTests
{
[Test]
public void IfAssertMethodIsNotSet_WhenAccessedShouldShouldThrowException()
{
var xenonTestOptions = new XenonTestOptions();
var exception... | using System;
using NUnit.Framework;
namespace Xenon.Tests
{
[TestFixture]
public class XenonTestOptionsTests
{
[Test]
public void IfAssertMethodIsNotSet_WhenAccessedShouldSholdThrowException()
{
var xenonTestOptions = new XenonTestOptions();
var exception ... | mit | C# |
ec7987c6d9c447910686771201358b77aebc4dba | Hide the new, unwanted "Show regional dialects" control | JohnThomson/BloomDesktop,gmartin7/myBloomFork,JohnThomson/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,andrew-polk/BloomDesktop,andrew-polk/BloomDesktop,andrew-polk/BloomDesktop,BloomBooks/BloomDesktop,JohnThomson/BloomDesktop,gmartin7/myBloomFork,gma... | src/BloomExe/CollectionCreating/LanguageIdControl.cs | src/BloomExe/CollectionCreating/LanguageIdControl.cs | using System;
using System.Linq;
using System.Windows.Forms;
using Bloom.Collection;
using Bloom.ToPalaso;
namespace Bloom.CollectionCreating
{
public partial class LanguageIdControl : UserControl, IPageControl
{
public CollectionSettings _collectionInfo;
private Action<UserControl, bool> _setNextButtonState;
... | using System;
using System.Linq;
using System.Windows.Forms;
using Bloom.Collection;
using Bloom.ToPalaso;
namespace Bloom.CollectionCreating
{
public partial class LanguageIdControl : UserControl, IPageControl
{
public CollectionSettings _collectionInfo;
private Action<UserControl, bool> _setNextButtonState;
... | mit | C# |
b769bf114fd0133ab449d2f5e33e8e9dd007e252 | Document format. | lukyad/Eco | Sample/TimeSpanConverter.cs | Sample/TimeSpanConverter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sample
{
public static class TimeSpanConverter
{
private static readonly Dictionary<string, Func<double, TimeSpan>> _fromDoubleMethods = new Dictionary<string, Func<double, TimeSpan>> {
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sample
{
public static class TimeSpanConverter
{
private static readonly Dictionary<string, Func<double, TimeSpan>> _fromDoubleMethods = new Dictionary<string, Func<double, TimeSpan>> {
... | apache-2.0 | C# |
44e4ebf146ae7e0c2378a17e4e27ce3e90eb7d58 | switch to JilJsonConverter for giggles. After initial type deserialization, its screamingly fast, which is great for reads | jmkelly/elephanet,jmkelly/elephanet,YoloDev/elephanet,YoloDev/elephanet | Elephanet/StoreConventions.cs | Elephanet/StoreConventions.cs | using System;
using Newtonsoft.Json;
using Elephanet;
using Elephanet.Serialization;
namespace Elephanet
{
public class StoreConventions : IStoreConventions
{
IJsonConverter _jsonConverter;
private TableInfo _tableInfo;
public StoreConventions()
{
_jsonConverter = ... | using System;
using Newtonsoft.Json;
using Elephanet;
namespace Elephanet
{
public class StoreConventions : IStoreConventions
{
IJsonConverter _jsonConverter;
private TableInfo _tableInfo;
public StoreConventions()
{
_jsonConverter = new JsonConverter();
... | mit | C# |
bd0e06e80a78209f18e5fb5dda30ac16ccb3d749 | Use a copy of the original stream in HttpClient.PostAsync method to allow retries (PostAsync disposes original stream) | PNSolutions/MegaApiClient,gpailler/MegaApiClient | MegaApiClient/WebClient_HttpClient.cs | MegaApiClient/WebClient_HttpClient.cs | namespace CG.Web.MegaApiClient
{
using System;
using System.IO;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Net.Http;
using System.Net.Http.Headers;
public class WebClient : IWebClient
{
private const int DefaultResponseTimeout = Timeout.Infinit... | namespace CG.Web.MegaApiClient
{
using System;
using System.IO;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Net.Http;
using System.Net.Http.Headers;
public class WebClient : IWebClient
{
private const int DefaultResponseTimeout = Timeout.Infinit... | mit | C# |
038ff618c24c042b604b7326c1de200cd6ca7db6 | Fix S3 create bucket test | emgarten/Sleet,emgarten/Sleet | test/Sleet.AmazonS3.Tests/AmazonS3FileSystemTests.cs | test/Sleet.AmazonS3.Tests/AmazonS3FileSystemTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using NuGet.Test.Helpers;
using Sleet.Test.Common;
namespace Sleet.AmazonS3.Tests
{
public class AmazonS3FileSystemTests
{
[EnvVarExistsFact(AmazonS3TestConte... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using NuGet.Test.Helpers;
using Sleet.Test.Common;
namespace Sleet.AmazonS3.Tests
{
public class AmazonS3FileSystemTests
{
[EnvVarExistsFact(AmazonS3TestConte... | mit | C# |
dc6a79a481af4d2c5a3c6b90b6ca92b6b40ec2c7 | Trim end of post on Save. Incase someone hits enter loads and then blows the size of the page. This will stop that. | Jetski5822/NGM.Forum | ViewModels/PostBodyEditorViewModel.cs | ViewModels/PostBodyEditorViewModel.cs | using NGM.Forum.Models;
namespace NGM.Forum.ViewModels {
public class PostBodyEditorViewModel {
public PostPart PostPart { get; set; }
public string Text {
get { return PostPart.Record.Text; }
set { PostPart.Record.Text = string.IsNullOrWhiteSpace(value) ? value : ... | using NGM.Forum.Models;
namespace NGM.Forum.ViewModels {
public class PostBodyEditorViewModel {
public PostPart PostPart { get; set; }
public string Text {
get { return PostPart.Record.Text; }
set { PostPart.Record.Text = value; }
}
public strin... | bsd-3-clause | C# |
53e565948d6cb1b2636aab728e61853ac56bdf3e | set tile as parent in model builder | reinterpretcat/utymap,reinterpretcat/utymap,reinterpretcat/utymap | unity/demo/Assets/Scripts/Scene/UnityModelBuilder.cs | unity/demo/Assets/Scripts/Scene/UnityModelBuilder.cs | using System;
using System.Collections.Generic;
using Assets.Scripts.Scene.Builders;
using UnityEngine;
using UtyDepend;
using UtyMap.Unity;
using Mesh = UtyMap.Unity.Mesh;
namespace Assets.Scripts.Scene
{
/// <summary> Responsible for building Unity game objects from meshes and elements. </summary>
internal ... | using System;
using System.Collections.Generic;
using Assets.Scripts.Scene.Builders;
using UnityEngine;
using UtyDepend;
using UtyMap.Unity;
using Mesh = UtyMap.Unity.Mesh;
namespace Assets.Scripts.Scene
{
/// <summary> Responsible for building Unity game objects from meshes and elements. </summary>
internal ... | apache-2.0 | C# |
4b9d0941a46b41b7831fa12e81eefec4c9235ba0 | Fix if httpContext is null we cannot wrap it | robertjf/Umbraco-CMS,dawoe/Umbraco-CMS,abryukhov/Umbraco-CMS,marcemarc/Umbraco-CMS,arknu/Umbraco-CMS,abryukhov/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,arknu/Umbraco-CMS,dawoe/Umbraco-CMS,arknu/Umbraco-CMS,umbraco/Umbraco-CMS,robertjf/Umbraco-CMS,abjerner/Umbraco-CMS,dawoe/Umbraco-CMS,KevinJump/Umbraco-CMS,abryukhov/U... | src/Umbraco.Web/Net/AspNetHttpContextAccessor.cs | src/Umbraco.Web/Net/AspNetHttpContextAccessor.cs | using System;
using System.Web;
namespace Umbraco.Web
{
internal class AspNetHttpContextAccessor : IHttpContextAccessor
{
public HttpContextBase HttpContext
{
get
{
var httpContext = System.Web.HttpContext.Current;
return httpContext is n... | using System;
using System.Web;
namespace Umbraco.Web
{
internal class AspNetHttpContextAccessor : IHttpContextAccessor
{
public HttpContextBase HttpContext
{
get
{
return new HttpContextWrapper(System.Web.HttpContext.Current);
}
... | mit | C# |
d969135ae866dd9e81086bab345c3f0860844ba4 | Remove Scheduling Race Condition (#28) | bwatts/Totem,bwatts/Totem | Source/Totem.Runtime/Timeline/TimelineSchedule.cs | Source/Totem.Runtime/Timeline/TimelineSchedule.cs | using System;
using System.Linq;
using System.Reactive.Linq;
namespace Totem.Runtime.Timeline
{
/// <summary>
/// Schedules points on the timeline to occur in the future
/// </summary>
internal sealed class TimelineSchedule : Connection
{
readonly TimelineScope _timeline;
internal TimelineSchedule(... | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Concurrency;
using System.Reactive.Linq;
namespace Totem.Runtime.Timeline
{
/// <summary>
/// Schedules points on the timeline to occur in the future
/// </summary>
internal sealed class T... | mit | C# |
c293b3b5644f86f6ddf2223990f62c1fd2b8c5f5 | Update DestructuringHelpers.cs | CaptiveAire/Seq.App.YouTrack | src/Seq.App.YouTrack/Helpers/DestructuringHelpers.cs | src/Seq.App.YouTrack/Helpers/DestructuringHelpers.cs | // Copyright 2014-2019 CaptiveAire Systems
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agre... | namespace Seq.App.YouTrack.Helpers
{
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
public static class DestructuringHelpers
{
public static object ToDynamic(this object o)
{
switch (o)
{
case IEnumerable<KeyValueP... | apache-2.0 | C# |
ec0e5d129521872979f4f6009c267ea2e1849252 | Format changes a little | yappy/DollsKit,yappy/DollsKit,yappy/DollsKit,yappy/DollsKit,yappy/DollsKit | Shanghai/HealthCheck.cs | Shanghai/HealthCheck.cs | using System.IO;
using System.Text;
namespace Shanghai
{
class HealthCheck
{
public HealthCheck()
{ }
public void Proc(TaskServer server, string taskName)
{
var msg = new StringBuilder("[Health Check]\n");
msg.AppendFormat("CPU Temp: {0:F... | using System.IO;
using System.Text;
namespace Shanghai
{
class HealthCheck
{
public HealthCheck()
{ }
public void Proc(TaskServer server, string taskName)
{
var msg = new StringBuilder("[Health Check]\n");
msg.AppendFormat("CPU Temp: {0:F... | mit | C# |
9253e8a685040808fd15f7a07c7d827de10135aa | add return_to support | zendesk/zendesk_jwt_sso_examples,zendesk/zendesk_jwt_sso_examples,kietlieng/zendesk_jwt_sso_examples,zendesk/zendesk_jwt_sso_examples,kietlieng/zendesk_jwt_sso_examples,kietlieng/zendesk_jwt_sso_examples,kietlieng/zendesk_jwt_sso_examples,zendesk/zendesk_jwt_sso_examples,kietlieng/zendesk_jwt_sso_examples,zendesk/zende... | c_sharp_handler.cs | c_sharp_handler.cs | // Handler: <%@ WebHandler Language="C#" Class="Zendesk.JWTLogin" CodeBehind="Zendesk.JWTLogin.cs" %>
// Requires: JWT (https://nuget.org/packages/JWT)
// Tested with .NET 4.5
using System;
using System.Web;
using System.Collections.Generic;
namespace Zendesk
{
public class JWTLogin : IHttpHandler
{
p... | // Handler: <%@ WebHandler Language="C#" Class="Zendesk.JWTLogin" CodeBehind="Zendesk.JWTLogin.cs" %>
// Requires: JWT (https://nuget.org/packages/JWT)
// Tested with .NET 4.5
using System;
using System.Web;
using System.Collections.Generic;
namespace Zendesk
{
public class JWTLogin : IHttpHandler
{
p... | apache-2.0 | C# |
6b693893c99da28296864f16fe8e67332b7595d7 | Bump version to 0.27 | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity | common/SolutionInfo.cs | common/SolutionInfo.cs | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | mit | C# |
916f79ea864cb099b2b5ee3a7bf2e5888344021d | Add message inside this class to convey exception | sghaida/ADWS | ADWS/Models/UserInfoResponse.cs | ADWS/Models/UserInfoResponse.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
namespace ADWS.Models
{
[DataContract]
public class UserInfoResponse
{
[DataMember]
public string Title { set; get; }
[DataMember]
public string Display... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
namespace ADWS.Models
{
[DataContract]
public class UserInfoResponse
{
[DataMember]
public string Title { set; get; }
[DataMember]
public string Display... | apache-2.0 | C# |
92393caf164e7af895572036c48fcd4792db346f | Revert "temporary fix for GenericValue to support more conversions: now always backed by a string" | redxdev/DScript | DScript/Context/GenericValue.cs | DScript/Context/GenericValue.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
namespace DScript.Context
{
public struct GenericValue<T> : IValue
{
public static GenericValue<T> Default = new GenericValue<T>(default(T));
privat... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
namespace DScript.Context
{
public struct GenericValue<T> : IValue
{
public static GenericValue<T> Default = new GenericValue<T>(default(T));
privat... | apache-2.0 | C# |
9b0f302db8afd9a853bf3ce749ac7967efef5d02 | Add log for audit api | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers | src/SFA.DAS.EmployerUsers.RegistrationTidyUpJob/RegistrationManagement/RegistrationManager.cs | src/SFA.DAS.EmployerUsers.RegistrationTidyUpJob/RegistrationManagement/RegistrationManager.cs | using System;
using System.Threading.Tasks;
using MediatR;
using Microsoft.Azure;
using NLog;
using SFA.DAS.EmployerUsers.Application.Commands.DeleteUser;
using SFA.DAS.EmployerUsers.Application.Queries.GetUsersWithExpiredRegistrations;
namespace SFA.DAS.EmployerUsers.RegistrationTidyUpJob.RegistrationManagem... | using System;
using System.Threading.Tasks;
using MediatR;
using NLog;
using SFA.DAS.EmployerUsers.Application.Commands.DeleteUser;
using SFA.DAS.EmployerUsers.Application.Queries.GetUsersWithExpiredRegistrations;
namespace SFA.DAS.EmployerUsers.RegistrationTidyUpJob.RegistrationManagement
{
public class... | mit | C# |
5a669c1e235997546056390f3c530028b1a29e52 | Update Constants.cs | ibamong/aws-sdk-cshape-example | mori9/Utils/Constants.cs | mori9/Utils/Constants.cs | using Amazon;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace mori9.Utils
{
public class Constants
{
public const string COGNITO_IDENTITY_POOL_ID = "xxxxxxx"; // Enter your ID
public static RegionEndpoint COGNITO_REGION = RegionEndp... | using Amazon;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace mori9.Utils
{
public class Constants
{
//public const string FB_APP_ID = "";
//public const string FB_APP_NAME = "My Inventory";
//public const string PROVIDER_NAME = "gr... | apache-2.0 | C# |
468dce6a8bdd04204fdd9f9a1fd09d0ba3a66542 | remove todo only | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EAS.Portal/Application/Services/Commitments/Http/CommitmentsApiHttpClientFactory.cs | src/SFA.DAS.EAS.Portal/Application/Services/Commitments/Http/CommitmentsApiHttpClientFactory.cs | using System;
using System.Net.Http;
using SFA.DAS.EAS.Portal.Configuration;
using SFA.DAS.Http;
using SFA.DAS.Http.TokenGenerators;
namespace SFA.DAS.EAS.Portal.Application.Services.Commitments.Http
{
public class CommitmentsApiHttpClientFactory : ICommitmentsApiHttpClientFactory
{
private readonly Co... | using System;
using System.Net.Http;
using SFA.DAS.EAS.Portal.Configuration;
using SFA.DAS.Http;
using SFA.DAS.Http.TokenGenerators;
namespace SFA.DAS.EAS.Portal.Application.Services.Commitments.Http
{
//todo: decide on whether client factories belong with services or separate, and make consistent
// common ba... | mit | C# |
316c9783751e60545c155a8201c953b496957511 | Move https redirection above basic auth | demyanenko/hutel,demyanenko/hutel,demyanenko/hutel | server/Startup.cs | server/Startup.cs | using System;
using System.IO;
using hutel.Filters;
using hutel.Middleware;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.Logging;
using Newtons... | using System;
using System.IO;
using hutel.Filters;
using hutel.Middleware;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.Logging;
using Newtons... | apache-2.0 | C# |
a44de02468ce978e322f279f0d1e7ca2f4f2d86e | Add assembly informational version | mono/cecil,jbevain/cecil,sailro/cecil,fnajera-rac-de/cecil,SiliconStudio/Mono.Cecil | ProjectInfo.cs | ProjectInfo.cs | //
// Author:
// Jb Evain (jbevain@gmail.com)
//
// Copyright (c) 2008 - 2015 Jb Evain
//
// Licensed under the MIT/X11 license.
//
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct ("Mono.Cecil")]
[assembly: AssemblyCopyright ("Copyright © 2008 - 2015 Jb Evain")]
#if !PCL
[... | //
// Author:
// Jb Evain (jbevain@gmail.com)
//
// Copyright (c) 2008 - 2015 Jb Evain
//
// Licensed under the MIT/X11 license.
//
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct ("Mono.Cecil")]
[assembly: AssemblyCopyright ("Copyright © 2008 - 2015 Jb Evain")]
#if !PCL
[... | mit | C# |
ca86920ca95dd0a2ca4a3deb376ce9e58c63900a | Update ServiceProviderFixture.cs | tiksn/TIKSN-Framework | TIKSN.Framework.IntegrationTests/ServiceProviderFixture.cs | TIKSN.Framework.IntegrationTests/ServiceProviderFixture.cs | using System;
using System.Collections.Generic;
using Autofac;
using Autofac.Extensions.DependencyInjection;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using TIKSN.Data.Mongo;
using TIKSN.DependencyInjection;
using TIKSN.Framework.IntegrationTests.Data.Mongo;
namespace TIKSN.Framewo... | using System;
using System.Collections.Generic;
using Autofac;
using Autofac.Extensions.DependencyInjection;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using TIKSN.Data.Mongo;
using TIKSN.DependencyInjection;
using TIKSN.Framework.IntegrationTests.Data.Mongo;
namespace TIKSN.Framewo... | mit | C# |
4e86d22a056ddf5b5a391488fe7dd8715bd7ed11 | write unit test for DeleteOrganizationHandlerAsync #1214 (code review changes) | shanecharles/allReady,binaryjanitor/allReady,enderdickerson/allReady,c0g1t8/allReady,bcbeatty/allReady,GProulx/allReady,VishalMadhvani/allReady,BillWagner/allReady,stevejgordon/allReady,mipre100/allReady,GProulx/allReady,HamidMosalla/allReady,mgmccarthy/allReady,forestcheng/allReady,JowenMei/allReady,pranap/allReady,Vi... | AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Features/Organizations/DeleteOrganisationHandlerTests.cs | AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Features/Organizations/DeleteOrganisationHandlerTests.cs | using AllReady.Areas.Admin.Features.Organizations;
using AllReady.Models;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace AllReady.UnitTest.Areas.Admin.Features.Organizations
{
public class DeleteOrganizationHandlerAsyncShould : InMemoryContextTest
{
protected override void Loa... | using AllReady.Areas.Admin.Features.Organizations;
using AllReady.Models;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace AllReady.UnitTest.Areas.Admin.Features.Organizations
{
public class DeleteOrganizationHandlerAsyncTests : InMemoryContextTest
{
protected override void Load... | mit | C# |
f3b96f8f50c9dde37741578f1e13fce19d9d0ef9 | add fallback to normal note image | smoogipooo/osu,peppy/osu,ppy/osu,EVAST9919/osu,peppy/osu-new,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,ppy/osu,EVAST9919/osu,peppy/osu,NeoAdonis/osu | osu.Game.Rulesets.Mania/Skinning/LegacyHoldNoteTailPiece.cs | osu.Game.Rulesets.Mania/Skinning/LegacyHoldNoteTailPiece.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.Bindables;
using osu.Framework.Graphics.Textures;
using osu.Game.Rulesets.UI.Scrolling;
using osu.Game.Skinning;
namespace osu.Game.Rulesets.Mania.Sk... | // 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.Bindables;
using osu.Framework.Graphics.Textures;
using osu.Game.Rulesets.UI.Scrolling;
using osu.Game.Skinning;
namespace osu.Game.Rulesets.Mania.Sk... | mit | C# |
b6edd17242a2f94da3fe03e9c2bf2833b0d6bdec | Fix TeamWin test scene | EVAST9919/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu-new,johnneijzen/osu,EVAST9919/osu,ppy/osu,ppy/osu,2yangk23/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,johnneijzen/osu,peppy/osu,smoogipoo/osu | osu.Game.Tournament.Tests/Screens/TestSceneTeamWinScreen.cs | osu.Game.Tournament.Tests/Screens/TestSceneTeamWinScreen.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.Linq;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Tournament.Models;
using osu.Game.Tournament.Screens.TeamWin;
namespace o... | // 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.Linq;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Tournament.Models;
using osu.Game.Tournament.Screens.TeamWin;
namespace o... | mit | C# |
74fa9dba58babe0d70076da50811e4b3f1ba0e9f | Use port for demo application that doesn't need privileges | RailPhase/RailPhase,LukasBoersma/Web2Sharp,RailPhase/RailPhase,LukasBoersma/Web2Sharp,LukasBoersma/RailPhase,LukasBoersma/RailPhase | RailPhase.Demo/Program.cs | RailPhase.Demo/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RailPhase.Demo
{
class Program
{
static void Main(string[] args)
{
// Create a simple web app and serve content on to URLs.
var app = new App();... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RailPhase.Demo
{
class Program
{
static void Main(string[] args)
{
// Create a simple web app and serve content on to URLs.
var app = new App();... | mit | C# |
5587efaadd47ac7274cc3e973d70f0c4fdbed33a | Update Python Runtime dll location (#5398) | QuantConnect/Lean,StefanoRaggi/Lean,AlexCatarino/Lean,AlexCatarino/Lean,JKarathiya/Lean,AlexCatarino/Lean,StefanoRaggi/Lean,jameschch/Lean,StefanoRaggi/Lean,QuantConnect/Lean,QuantConnect/Lean,jameschch/Lean,AlexCatarino/Lean,JKarathiya/Lean,jameschch/Lean,StefanoRaggi/Lean,jameschch/Lean,StefanoRaggi/Lean,jameschch/Le... | Research/QuantConnect.csx | Research/QuantConnect.csx | #r "Python.Runtime.dll"
#r "QuantConnect.Algorithm.dll"
#r "QuantConnect.Algorithm.Framework.dll"
#r "QuantConnect.Common.dll"
#r "QuantConnect.Indicators.dll"
#r "QuantConnect.Research.dll"
#r "NodaTime.dll"
#r "Accord.dll"
#r "Accord.Fuzzy.dll"
#r "Accord.Math.Core.dll"
#r "Accord.Math.dll"
#r "MathNet.Numerics.dll"... | #r "pythonnet/Python.Runtime.dll"
#r "QuantConnect.Algorithm.dll"
#r "QuantConnect.Algorithm.Framework.dll"
#r "QuantConnect.Common.dll"
#r "QuantConnect.Indicators.dll"
#r "QuantConnect.Research.dll"
#r "NodaTime.dll"
#r "Accord.dll"
#r "Accord.Fuzzy.dll"
#r "Accord.Math.Core.dll"
#r "Accord.Math.dll"
#r "MathNet.Num... | apache-2.0 | C# |
6a2a3e10d5c1bac248b55916e15e64bb57ee5749 | Fix formatting exception when script compilation fails with certain error messages | eatdrinksleepcode/casper,eatdrinksleepcode/casper | Core/CasperException.cs | Core/CasperException.cs | using System;
namespace Casper {
public class CasperException : Exception {
public const int EXIT_CODE_COMPILATION_ERROR = 1;
public const int EXIT_CODE_MISSING_TASK = 2;
public const int EXIT_CODE_CONFIGURATION_ERROR = 3;
public const int EXIT_CODE_TASK_FAILED = 4;
public const int EXIT_CODE_UNHANDLED_EX... | using System;
namespace Casper {
public class CasperException : Exception {
public const int EXIT_CODE_COMPILATION_ERROR = 1;
public const int EXIT_CODE_MISSING_TASK = 2;
public const int EXIT_CODE_CONFIGURATION_ERROR = 3;
public const int EXIT_CODE_TASK_FAILED = 4;
public const int EXIT_CODE_UNHANDLED_EX... | mit | C# |
b05a3bf0ed21a6fd25807f34c69987ead0cee9b0 | Make the client request the RavenDB server version. If we don't do this the client doesn't appear to raise an exception in the case of a dead server so the health check will still return healthy. | lynxx131/dotnet.microservice | src/Dotnet.Microservice/Health/Checks/RavenDbHealthCheck.cs | src/Dotnet.Microservice/Health/Checks/RavenDbHealthCheck.cs | using Raven.Abstractions.Data;
using System;
namespace Dotnet.Microservice.Health.Checks
{
public class RavenDbHealthCheck
{
public static HealthResponse CheckHealth(string connectionString)
{
try
{
ConnectionStringParser<RavenConnectionStringOptions> pa... | using Raven.Abstractions.Data;
using System;
namespace Dotnet.Microservice.Health.Checks
{
public class RavenDbHealthCheck
{
public static HealthResponse CheckHealth(string connectionString)
{
try
{
ConnectionStringParser<RavenConnectionStringOptions> pa... | isc | C# |
afdf1443a930941711c316dd7713f4e7d3b1ca2b | Correct code comment (#13993) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Mvc/Mvc.Abstractions/src/ModelBinding/IValueProvider.cs | src/Mvc/Mvc.Abstractions/src/ModelBinding/IValueProvider.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNetCore.Mvc.ModelBinding
{
/// <summary>
/// Defines the methods that are required for a value provider.
/// </summar... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNetCore.Mvc.ModelBinding
{
/// <summary>
/// Defines the methods that are required for a value provider.
/// </summar... | apache-2.0 | C# |
0be8ee11749741726f00ae996137fc82e267055c | Fix ResponseMessageTransformer (BodyAsJson) | WireMock-Net/WireMock.Net,StefH/WireMock.Net,StefH/WireMock.Net | src/WireMock.Net/Transformers/ResponseMessageTransformer.cs | src/WireMock.Net/Transformers/ResponseMessageTransformer.cs | using System.Collections.Generic;
using System.Linq;
using HandlebarsDotNet;
using Newtonsoft.Json;
using WireMock.Util;
namespace WireMock.Transformers
{
internal static class ResponseMessageTransformer
{
public static ResponseMessage Transform(RequestMessage requestMessage, ResponseMessage original)... | using System.Collections.Generic;
using System.Linq;
using HandlebarsDotNet;
using WireMock.Util;
namespace WireMock.Transformers
{
internal static class ResponseMessageTransformer
{
public static ResponseMessage Transform(RequestMessage requestMessage, ResponseMessage original)
{
... | apache-2.0 | C# |
a09ab7bd941c1da9c916bacdb7b78a62615ffe22 | Update LegendaryDroppedPopup.cs | prrovoss/THUD | plugins/Prrovoss/LegendaryDroppedPopup.cs | plugins/Prrovoss/LegendaryDroppedPopup.cs | using Turbo.Plugins.Default;
namespace Turbo.Plugins.Prrovoss
{
public class LegendaryDroppedPopup : BasePlugin, ILootGeneratedHandler
{
public void OnLootGenerated(IItem item, bool gambled)
{
if (item.Quality >= ItemQuality.Legendary)
Hud.RunOnPlugin<PopupNotifica... | using Turbo.Plugins.Default;
namespace Turbo.Plugins.Prrovoss
{
public class LegendaryDroppedPopup : BasePlugin, ILootGeneratedHandler
{
public void OnLootGenerated(IItem item, bool gambled)
{
if (item.Quality >= ItemQuality.Legendary)
Hud.RunOnPlugin<PopupNotifica... | mit | C# |
dded5e5bcf2527aa10438ff908a4ab267a7d9a2a | Update AlexanderKoehler.cs | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/AlexanderKoehler.cs | src/Firehose.Web/Authors/AlexanderKoehler.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class AlexanderKoehler : IAmACommunityMember
{
public string FirstName => "Alexander";
... | public class AlexanderKoehler : IAmACommunityMember
{
public string FirstName => "Alexander";
public string LastName => "Koehler";
public string ShortBioOrTagLine => "father,system engineer, automation guy, powershell enthusiast";
public string StateOrRegion => "Mengen, Germany"... | mit | C# |
763c8194ff4fc250ef5829d03b57500ce053ac97 | return null instead of exception | Simocracy/CLSim | CLSim/GUI/Converter.cs | CLSim/GUI/Converter.cs | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace Simocracy.CLSim.GUI
{
/// <summary>
/// Converter for Window Title
/// </summary>
public class TitleConverter : IMultiValueConverter
{
public object Convert(object[] values, Type targetTyp... | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace Simocracy.CLSim.GUI
{
/// <summary>
/// Converter for Window Title
/// </summary>
public class TitleConverter : IMultiValueConverter
{
public object Convert(object[] values, Type targetTyp... | mit | C# |
c9ab3ce2354e06662eaf475c43c5564a817f929d | Make .net version reporting more detailed | canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor | src/SyncTrayzor/Utils/DotNetVersionFinder.cs | src/SyncTrayzor/Utils/DotNetVersionFinder.cs | using Microsoft.Win32;
using System;
namespace SyncTrayzor.Utils
{
public static class DotNetVersionFinder
{
// See https://msdn.microsoft.com/en-us/library/hh925568.aspx#net_d
public static string FindDotNetVersion()
{
try
{
using (var ndpKey =... | using Microsoft.Win32;
using System;
namespace SyncTrayzor.Utils
{
public static class DotNetVersionFinder
{
// See https://msdn.microsoft.com/en-us/library/hh925568.aspx#net_d
public static string FindDotNetVersion()
{
try
{
using (var ndpKey =... | mit | C# |
12db4d7b40c5f115946da7560bde886e31759900 | remove unused states | judwhite/NsqSharp | NsqSharp/Core/State.cs | NsqSharp/Core/State.cs | namespace NsqSharp.Core
{
// https://github.com/bitly/go-nsq/blob/master/states.go
/// <summary>
/// States
/// </summary>
public enum State
{
/// <summary>Init</summary>
Init = 0,
/// <summary>Disconnected</summary>
Disconnected = 1,
/// <summary>Conn... | namespace NsqSharp.Core
{
// https://github.com/bitly/go-nsq/blob/master/states.go
/// <summary>
/// States
/// </summary>
public enum State
{
/// <summary>Init</summary>
Init = 0,
/// <summary>Disconnected</summary>
Disconnected = 1,
/// <summary>Conn... | mit | C# |
ebbc8298917db15105130ea2b12e1dab67173a88 | disable HardwareAccelerated | peppy/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,ppy/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,peppy/osu,peppy/osu-new | osu.Android/OsuGameActivity.cs | osu.Android/OsuGameActivity.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 Android.App;
using Android.Content.PM;
using Android.OS;
using Android.Views;
using osu.Framework.Android;
namespace osu.Android
{
[Activity(Theme = "@android... | // 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 Android.App;
using Android.Content.PM;
using Android.OS;
using Android.Views;
using osu.Framework.Android;
namespace osu.Android
{
[Activity(Theme = "@android... | mit | C# |
2f663622ccaaba1945ea424a0fb19d64ae1c4e33 | Fix CI inspections | NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,peppy/osu,peppy/osu,EVAST9919/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,peppy/osu-new,ZLima12/osu,johnneijzen/osu,ZLima12/osu,2yangk23/osu,2yangk23/osu,UselessToucan/osu,ppy/osu,johnneijzen/osu,NeoAdonis/osu,EVAST9919/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,smoo... | osu.Game/Users/UserActivity.cs | osu.Game/Users/UserActivity.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Beatmaps;
using osu.Game.Graphics;
using osuTK.Graphics;
namespace osu.Game.Users
{
public abstract class UserActivity
{
public abstract ... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Beatmaps;
using osu.Game.Graphics;
using osuTK.Graphics;
namespace osu.Game.Users
{
public abstract class UserActivity
{
public abstract ... | mit | C# |
0ba6b3d465722c77724d51a1351825210885a718 | Update InoadSample.cs | Fody/FodyAddinSamples,Fody/FodyAddinSamples | Samples/InoadSample.cs | Samples/InoadSample.cs | using System;
using System.Diagnostics;
using Ionad;
using Xunit;
public class IonadSample
{
[Fact]
public void Run()
{
DateTimeSubstitute.Current = new DateTime(2000, 1, 1);
var time = DateTime.Now;
Trace.WriteLine(time);
}
[StaticReplacement(typeof(DateTime))]
public... | using System;
using System.Diagnostics;
using Ionad;
using Xunit;
public class IonadSample
{
[Fact]
public void Run()
{
DateTimeSubstitute.Current = new DateTime(2000, 1, 1);
var time = DateTime.Now;
Debug.WriteLine(time);
}
[StaticReplacement(typeof(DateTime))]
public... | mit | C# |
660cb7714eea0f1fe8e33952ea1502544ad26713 | Fix argument name param order | graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet,graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet,graphql-dotnet/graphql-dotnet | src/GraphQL/Types/InputObjectGraphType.cs | src/GraphQL/Types/InputObjectGraphType.cs | using System;
namespace GraphQL.Types
{
public interface IInputObjectGraphType : IComplexGraphType
{
}
public class InputObjectGraphType : InputObjectGraphType<object>
{
}
public class InputObjectGraphType<TSourceType> : ComplexGraphType<TSourceType>, IInputObjectGraphType
{
p... | using System;
namespace GraphQL.Types
{
public interface IInputObjectGraphType : IComplexGraphType
{
}
public class InputObjectGraphType : InputObjectGraphType<object>
{
}
public class InputObjectGraphType<TSourceType> : ComplexGraphType<TSourceType>, IInputObjectGraphType
{
p... | mit | C# |
e8c39310746887942cea0aae6d9f71648faaf515 | Apply suggestions from code review | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/ObjectPool/src/IPooledObjectPolicy.cs | src/ObjectPool/src/IPooledObjectPolicy.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.Extensions.ObjectPool
{
/// <summary>
/// Represents a policy for managing pooled objects.
/// </summary>
/// <typep... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.Extensions.ObjectPool
{
/// <summary>
/// Represents a policy for managing pooled objects.
/// </summary>
/// <typep... | apache-2.0 | C# |
cac2de9d8a3440a294226adef6b925306eddb6e9 | Set version to 1.0.1 | lademone/sendinblue.net | src/SendInBlue/Properties/AssemblyInfo.cs | src/SendInBlue/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Se... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Se... | apache-2.0 | C# |
b2681df25f7482d87c0ab039d4cce853605fe288 | add comment | xbehave/xbehave.net,mvalipour/xbehave.net,modulexcite/xbehave.net,mvalipour/xbehave.net,modulexcite/xbehave.net,adamralph/xbehave.net,hitesh97/xbehave.net,hitesh97/xbehave.net | src/Xbehave/Internal/ActionTestCommand.cs | src/Xbehave/Internal/ActionTestCommand.cs | // <copyright file="ActionTestCommand.cs" company="Adam Ralph">
// Copyright (c) Adam Ralph. All rights reserved.
// </copyright>
namespace Xbehave.Internal
{
using System;
using System.Diagnostics.CodeAnalysis;
using Xunit.Sdk;
internal class ActionTestCommand : TestCommand
{
... | // <copyright file="ActionTestCommand.cs" company="Adam Ralph">
// Copyright (c) Adam Ralph. All rights reserved.
// </copyright>
namespace Xbehave.Internal
{
using System;
using System.Diagnostics.CodeAnalysis;
using Xunit.Sdk;
internal class ActionTestCommand : TestCommand
{
... | mit | C# |
d34c021346f2c1a7263d84d44437c92016f46e06 | allow non empty folders | yaronthurm/Backy | BackyUI/UIUtils.cs | BackyUI/UIUtils.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Backy
{
internal static class UIUtils
{
public static void ScrollToBottom(Control control)
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Backy
{
internal static class UIUtils
{
public static void ScrollToBottom(Control control)
... | mit | C# |
54440d1211cd96d7a0176e5965a08a3cc3cc7756 | Add it | jogibear9988/websocket-sharp,sta/websocket-sharp,jogibear9988/websocket-sharp,jogibear9988/websocket-sharp,sta/websocket-sharp,sta/websocket-sharp,sta/websocket-sharp,jogibear9988/websocket-sharp | websocket-sharp/Net/QueryStringCollection.cs | websocket-sharp/Net/QueryStringCollection.cs | #region License
/*
* QueryStringCollection.cs
*
* This code is derived from System.Net.HttpUtility.cs of Mono
* (http://www.mono-project.com).
*
* The MIT License
*
* Copyright (c) 2005-2009 Novell, Inc. (http://www.novell.com)
* Copyright (c) 2014 sta.blockhead
*
* Permission is hereby granted, free of char... | #region License
/*
* QueryStringCollection.cs
*
* This code is derived from System.Net.HttpUtility.cs of Mono
* (http://www.mono-project.com).
*
* The MIT License
*
* Copyright (c) 2005-2009 Novell, Inc. (http://www.novell.com)
* Copyright (c) 2014 sta.blockhead
*
* Permission is hereby granted, free of char... | mit | C# |
6cad2257793e884a6776312697e648eadedec443 | Switch to new backup email recipient | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Jobs/SqliteBackupJob.cs | Battery-Commander.Web/Jobs/SqliteBackupJob.cs | using FluentEmail.Core;
using FluentScheduler;
using System;
namespace BatteryCommander.Web.Jobs
{
public class SqliteBackupJob : IJob
{
private const String Recipient = "Backups@RedLeg.app";
private readonly IFluentEmail emailSvc;
public SqliteBackupJob(IFluentEmail emailSvc)
... | using FluentEmail.Core;
using FluentScheduler;
using System;
namespace BatteryCommander.Web.Jobs
{
public class SqliteBackupJob : IJob
{
private const String Recipient = "mattgwagner+backup@gmail.com"; // TODO Make this configurable
private readonly IFluentEmail emailSvc;
public Sqli... | mit | C# |
70b073220eae8247935cf6580e00f5bcfb4cfb8c | Make GitDiffMarginTextViewOptions a static class | laurentkempe/GitDiffMargin,modulexcite/GitDiffMargin | GitDiffMargin/GitDiffMarginTextViewOptions.cs | GitDiffMargin/GitDiffMarginTextViewOptions.cs | using Microsoft.VisualStudio.Text.Editor;
namespace GitDiffMargin
{
public static class GitDiffMarginTextViewOptions
{
public const string DiffMarginName = EditorDiffMargin.MarginNameConst + "/DiffMarginName";
public static readonly EditorOptionKey<bool> DiffMarginId = new EditorOptionKey<boo... | using Microsoft.VisualStudio.Text.Editor;
namespace GitDiffMargin
{
public class GitDiffMarginTextViewOptions
{
public const string DiffMarginName = EditorDiffMargin.MarginNameConst + "/DiffMarginName";
public static readonly EditorOptionKey<bool> DiffMarginId = new EditorOptionKey<bool>(Diff... | mit | C# |
7b19c414d5c85dc390618afacf2caa5c3643272f | Use port 8080 | demyanenko/hutel,demyanenko/hutel,demyanenko/hutel | server/Program.cs | server/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
namespace server
{
public class Program
{
public static void Main(string[] args)
{
var confi... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
namespace server
{
public class Program
{
public static void Main(string[] args)
{
var confi... | apache-2.0 | C# |
a22e62e5b88170ff46b3fef838b697bf5ffe4357 | Remove remaining TODO comment | smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework | osu.Framework/Input/Events/MidiDownEvent.cs | osu.Framework/Input/Events/MidiDownEvent.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 JetBrains.Annotations;
using osu.Framework.Input.States;
namespace osu.Framework.Input.Events
{
public class MidiDownEvent : MidiEvent
{
public Mid... | // 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 JetBrains.Annotations;
using osu.Framework.Input.States;
namespace osu.Framework.Input.Events
{
public class MidiDownEvent : MidiEvent
{
// TODO: v... | mit | C# |
8f2b0e58b33b8afee0e7c890ac2f8fb6fb9226cd | Revert "Resolved CA 2208" | kschecht/sarif-sdk,kschecht/sarif-sdk,kschecht/sarif-sdk,kschecht/sarif-sdk,Rolstenhouse/sarif-sdk,Rolstenhouse/sarif-sdk,Rolstenhouse/sarif-sdk,kschecht/sarif-sdk,Rolstenhouse/sarif-sdk,Rolstenhouse/sarif-sdk,kschecht/sarif-sdk,kschecht/sarif-sdk,Rolstenhouse/sarif-sdk,Rolstenhouse/sarif-sdk | src/Sarif/PerLanguageOption.cs | src/Sarif/PerLanguageOption.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace Microsoft.CodeAnalysis.Sarif
{
/// <summary>
/// An option that can be specified once per language.
/// </summary>
/// <typepa... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace Microsoft.CodeAnalysis.Sarif
{
/// <summary>
/// An option that can be specified once per language.
/// </summary>
/// <typepa... | mit | C# |
34274515c875a7bc90d267020ac2d66eea96520c | fix URL | IdentityModel/IdentityModel2,IdentityModel/IdentityModelv2,IdentityModel/IdentityModelv2,IdentityModel/IdentityModel2,IdentityModel/IdentityModel,IdentityModel/IdentityModel | src/IdentityModel/Client/DiscoveryClient.cs | src/IdentityModel/Client/DiscoveryClient.cs | using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace IdentityModel.Client
{
public class DiscoveryClient
{
private readonly HttpClient _client;
public TimeSpan Timeout
{
set
{
_client.Timeout = val... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace IdentityModel.Client
{
public class DiscoveryClient
{
private readonly HttpClient _client;
public TimeSpan Timeout
{
se... | apache-2.0 | C# |
3a290c768c64c7947574934b52fd391062c069d5 | Bump to version 0.1.0 | Kryptos-FR/markdig.wpf,Kryptos-FR/markdig-wpf | src/Markdig.Xaml/Properties/AssemblyInfo.cs | src/Markdig.Xaml/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
// 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("Markdig.Xaml")]
[assembly: AssemblyDescription("a XAML ... | using System.Reflection;
using System.Resources;
// 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("Markdig.Xaml")]
[assembly: AssemblyDescription("a XAML ... | mit | C# |
76f3b9e2f3d217c8431768712d3aaf82af7ada69 | Update EnemyAi.cs | danstev/UnityStuff | Scripts/EnemyAi.cs | Scripts/EnemyAi.cs | using UnityEngine;
using System.Collections;
public class EnemyAi : MonoBehaviour {
public float aggroDistance = 10;
public float meleeDistance = 2;
public float attackPower = 10;
public float speed;
private GameObject[] players = new GameObject[8];
private GameObject target;
p... | using UnityEngine;
using System.Collections;
public class EnemyAi : MonoBehaviour {
public float aggroDistance = 10;
public float meleeDistance = 2;
public int attackPower = 10;
public float speed;
private GameObject[] players = new GameObject[8];
private GameObject target;
void Update ()... | mit | C# |
31c21a9d3603673a8c7ace55a5d2a2d16809213d | Fix version | gigya/microdot | SolutionVersion.cs | SolutionVersion.cs | #region Copyright
// Copyright 2017 Gigya Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// THIS... | #region Copyright
// Copyright 2017 Gigya Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// THIS... | apache-2.0 | C# |
d26e3d335c10015451e232c85f6d71f5cb84e0a7 | update AssemblyVersion | gigya/microdot | SolutionVersion.cs | SolutionVersion.cs | #region Copyright
// Copyright 2017 Gigya Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// THIS... | #region Copyright
// Copyright 2017 Gigya Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// THIS... | apache-2.0 | C# |
cc0c407d4e90e57b80e6dc51cc11a906d6dd8b6c | Update Errors.cs | appel1/ExcelDataReader,vassav/ExcelDataReader,ExcelDataReader/ExcelDataReader,vassav/ExcelDataReader | src/ExcelDataReader/Errors.cs | src/ExcelDataReader/Errors.cs | namespace ExcelDataReader
{
internal static class Errors
{
public const string ErrorStreamWorkbookNotFound = "Neither stream 'Workbook' nor 'Book' was found in file.";
public const string ErrorWorkbookIsNotStream = "Workbook directory entry is not a Stream.";
public const string ErrorWor... | namespace ExcelDataReader
{
internal static class Errors
{
public const string ErrorStreamWorkbookNotFound = "Neither stream 'Workbook' nor 'Book' was found in file.";
public const string ErrorWorkbookIsNotStream = "Workbook directory entry is not a Stream.";
public const string ErrorWor... | mit | C# |
5a706ecefdcbf071e593cae1b1859bf260d7f730 | Complete RegexPhoneNumbers | Melkiah/GitubExerciseHomework | RegexExercises/MatchPhoneNumbers/MatchPhoneNumbers.cs | RegexExercises/MatchPhoneNumbers/MatchPhoneNumbers.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace MatchPhoneNumbers
{
class MatchPhoneNumbers
{
static void Main(string[] args)
{
string regex = @"\+359( |-)2(\1)\d{3}(... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MatchPhoneNumbers
{
class MatchPhoneNumbers
{
static void Main(string[] args)
{
}
}
}
| mit | C# |
b2990927492de801bc1116590487f6f98afb4316 | fix menu typo | jonathanantoine/UWP-Anniversary-Quoi-de-neuf,jonathanantoine/UWP-Anniversary-Update---Quoi-de-neuf | UWPWhatsNew/UWPWhatsNew/Views/Shell/ShellViewModel.cs | UWPWhatsNew/UWPWhatsNew/Views/Shell/ShellViewModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UWPWhatsNew.Common;
using UWPWhatsNew.Views.Shell;
namespace UWPWhatsNew.Views
{
public class ShellViewModel : BindableBase
{
private List<AvailableItem<Type>> _availableSamples;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UWPWhatsNew.Common;
using UWPWhatsNew.Views.Shell;
namespace UWPWhatsNew.Views
{
public class ShellViewModel : BindableBase
{
private List<AvailableItem<Type>> _availableSamples;
... | mit | C# |
5d715e191cedd59f7a21271b359ee931db3cc054 | Fix null object error parsing CoinChoose.com data | IWBWbiz/MultiMiner,nwoolls/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner | MultiMiner.Coinchoose.Api/CoinInformation.cs | MultiMiner.Coinchoose.Api/CoinInformation.cs | using Newtonsoft.Json.Linq;
using System;
namespace MultiMiner.Coinchoose.Api
{
public class CoinInformation
{
public string Symbol { get; set; }
public string Name { get; set; }
public string Algorithm { get; set; }
public int CurrentBlocks { get; set; }
public double ... | using Newtonsoft.Json.Linq;
using System;
namespace MultiMiner.Coinchoose.Api
{
public class CoinInformation
{
public string Symbol { get; set; }
public string Name { get; set; }
public string Algorithm { get; set; }
public int CurrentBlocks { get; set; }
public double ... | mit | C# |
9ecdd04c6f7b2e48c46345186a70facfab06a0dd | Deploy in correct folder if instance name not set | Codestellation/Galaxy,Codestellation/Galaxy,Codestellation/Galaxy | src/Galaxy/Domain/Deployment.cs | src/Galaxy/Domain/Deployment.cs | using System.Linq;
using System.ServiceProcess;
using Codestellation.Galaxy.Infrastructure;
using Nejdb.Bson;
using System;
namespace Codestellation.Galaxy.Domain
{
public class Deployment
{
private string _deployLogFolder;
private string _fileOverridesFolder;
public ObjectId Id { get;... | using System.Linq;
using System.ServiceProcess;
using Codestellation.Galaxy.Infrastructure;
using Nejdb.Bson;
using System;
namespace Codestellation.Galaxy.Domain
{
public class Deployment
{
private string _deployLogFolder;
private string _fileOverridesFolder;
public ObjectId Id { get;... | apache-2.0 | C# |
07d9d4d0bc44c52ef25f7541b224d050737ee46f | Generalize Optional on item type. | plioi/parsley | src/Parsley/Grammar.Optional.cs | src/Parsley/Grammar.Optional.cs | using System.Diagnostics.CodeAnalysis;
namespace Parsley;
public static partial class Grammar
{
/// <summary>
/// Optional(p) is equivalent to p whenever p succeeds or when p fails after consuming input.
/// If p fails without consuming input, Optional(p) succeeds.
/// </summary>
public static Par... | using System.Diagnostics.CodeAnalysis;
namespace Parsley;
public static partial class Grammar
{
/// <summary>
/// Optional(p) is equivalent to p whenever p succeeds or when p fails after consuming input.
/// If p fails without consuming input, Optional(p) succeeds.
/// </summary>
public static Par... | mit | C# |
57aaa171b8ad7f33b4dcd21c992eb2c5aabd82ec | build error | Arch/UnitOfWork | src/Microsoft.EntityFrameworkCore.UnitOfWork/PagedList/IQueryablePageListExtensions.cs | src/Microsoft.EntityFrameworkCore.UnitOfWork/PagedList/IQueryablePageListExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.EntityFrameworkCore
{
public static class IQueryablePageListExtensions
{
/// <summary>
/// Converts the specified source to <see cref="IPagedList{T}"/> b... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.EntityFrameworkCore
{
public static class IQueryablePageListExtensions
{
/// <summary>
/// Converts the specified source to <see cref="IPagedList{T}"/> by the specified <paramre... | mit | C# |
ab3bbe797c4080b16dd1d2e3886aeea50c2ad8b0 | Delete commented code | poxet/InfluxDB.Net,jamesholcomb/InfluxDB.Net,ovjhc/InfluxDB.Net,poxet/InfluxDB.Net,ovjhc/InfluxDB.Net,ziyasal/InfluxDB.Net,jamesholcomb/InfluxDB.Net,ziyasal/InfluxDB.Net | src/InfluxDB.Net.Tests/ClientIntegrationTests.cs | src/InfluxDB.Net.Tests/ClientIntegrationTests.cs | using System;
using NUnit.Framework;
using FluentAssertions;
using InfluxDB.Net.Core;
using InfluxDB.Net.Models;
using System.Collections.Generic;
namespace InfluxDB.Net.Tests
{
public class ClientIntegrationTests : TestBase
{
private IInfluxDb _client;
private string _sutDb;
protecte... | using System;
using NUnit.Framework;
using FluentAssertions;
using InfluxDB.Net.Core;
using InfluxDB.Net.Models;
using System.Collections.Generic;
namespace InfluxDB.Net.Tests
{
public class ClientIntegrationTests : TestBase
{
private IInfluxDb _client;
private string _sutDb;
protecte... | unlicense | C# |
679e1a0f1e393aa549b9958984c2ccd46abe0159 | Increase version of | kant2002/Dub | Dub/CommonAssemblyInfo.cs | Dub/CommonAssemblyInfo.cs | // -----------------------------------------------------------------------
// <copyright file="CommonAssemblyInfo.cs" company="Andrey Kurdiumov">
// Copyright (c) Andrey Kurdiumov. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
using System.Reflection;
... | // -----------------------------------------------------------------------
// <copyright file="CommonAssemblyInfo.cs" company="Andrey Kurdiumov">
// Copyright (c) Andrey Kurdiumov. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
using System.Reflection;
... | apache-2.0 | C# |
df10fce1f7f71e5587cce4e4cd1f86441ff5166a | Change SimpleDateFormatter to use system culture | Dagwaging/log4net,Dagwaging/log4net,Dagwaging/log4net | src/log4net/DateFormatter/SimpleDateFormatter.cs | src/log4net/DateFormatter/SimpleDateFormatter.cs | #region Apache License
//
// 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
// (... | #region Apache License
//
// 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
// (... | apache-2.0 | C# |
b62bf367206c774e43830d674b44b77078334f66 | Implement basic receiver loop | brian-dot-net/writeasync,brian-dot-net/writeasync,brian-dot-net/writeasync | projects/CommSample/source/CommSample.App/Receiver.cs | projects/CommSample/source/CommSample.App/Receiver.cs | //-----------------------------------------------------------------------
// <copyright file="Receiver.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace CommSample
{
using Syst... | //-----------------------------------------------------------------------
// <copyright file="Receiver.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace CommSample
{
using Syst... | unlicense | C# |
d720d6748b3998dceeec7d8b00ad9816e0b8e903 | Update NotesRepository.cs | CarmelSoftware/MVCDataRepositoryXML | Models/NotesRepository.cs | Models/NotesRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Linq;
namespace IoCDependencyInjection.Models
{
| ////// TODO
The repo here will take care of all CRUD operations
| mit | C# |
a70ba9cdc8308f669610f8700ff7e735f8ded893 | Fix build issue due to missing #ifs | dupdob/NFluent,tpierrain/NFluent,tpierrain/NFluent,NFluent/NFluent,tpierrain/NFluent,NFluent/NFluent,dupdob/NFluent,dupdob/NFluent | tests/NFluent.Tests/FromIssues/UserReportedIssues2.cs | tests/NFluent.Tests/FromIssues/UserReportedIssues2.cs | using System.Collections.Generic;
#if DOTNET_45
using System;
using System.Threading.Tasks;
#endif
using NUnit.Framework;
namespace NFluent.Tests.FromIssues
{
[TestFixture]
public class UserReportedIssues2
{
[Test]
public void should_recognize_autoproperty_readonly_values()
{
... | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace NFluent.Tests.FromIssues
{
[TestFixture]
public class UserReportedIssues2
{
[Test]
public void should_recognize_autoproperty_readonly_values()
{
... | apache-2.0 | C# |
c69d98763a64979edaf7bb780947c31c1aafe2a7 | Change quotations format in Source | smartsheet-platform/smartsheet-csharp-sdk,smartsheet-platform/smartsheet-csharp-sdk | main/Smartsheet/Api/Models/Source.cs | main/Smartsheet/Api/Models/Source.cs | // #[license]
// SmartsheetClient SDK for C#
// %%
// Copyright (C) 2014 SmartsheetClient
// %%
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | // #[license]
// SmartsheetClient SDK for C#
// %%
// Copyright (C) 2014 SmartsheetClient
// %%
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | apache-2.0 | C# |
24995ed7dbfdf7aa284197fa77e9d619e3d60a14 | Fix Korean Calendar Test (#36429) | ViktorHofer/corefx,ViktorHofer/corefx,BrennanConroy/corefx,ericstj/corefx,ericstj/corefx,ViktorHofer/corefx,BrennanConroy/corefx,BrennanConroy/corefx,wtgodbe/corefx,ericstj/corefx,wtgodbe/corefx,wtgodbe/corefx,shimingsg/corefx,ericstj/corefx,ericstj/corefx,shimingsg/corefx,ViktorHofer/corefx,shimingsg/corefx,ericstj/co... | src/System.Globalization.Calendars/tests/KoreanCalendar/KoreanCalendarTwoDigitYearMax.cs | src/System.Globalization.Calendars/tests/KoreanCalendar/KoreanCalendarTwoDigitYearMax.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 Xunit;
namespace System.Globalization.Tests
{
public class KoreanCalendarTwoDigitYearMax
{
[F... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Globalization.Tests
{
public class KoreanCalendarTwoDigitYearMax
{
[F... | mit | C# |
468c30d5d6ef7e98dc399de7badd766702b632d6 | Update AccommodationType.cs | nikola02333/WebKurs,nikola02333/WebKurs,nikola02333/WebKurs | BookingApp/BookingApp/Models/AccommodationType.cs | BookingApp/BookingApp/Models/AccommodationType.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BookingApp.Models
{
public class AccommodationType
{
public int AccommodationTypeId { get; set; }
public string name { get; set; }
public List<Accommodation> l_Accommodation { get; set; }
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BookingApp.Models
{
public class AccommodationType
{
public int AccommodationTypeId { get; set; }
private string name { get; set; }
public List<Accommodation> l_Accommodation { get; set; }
... | mit | C# |
5f4b013d3ff4234c836e6a7ef39936d32815096a | Fix up how we generate debugging info for var simple. | gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT | LINQToTTree/LINQToTTreeLib/Variables/VarSimple.cs | LINQToTTree/LINQToTTreeLib/Variables/VarSimple.cs | using System;
using LinqToTTreeInterfacesLib;
using LINQToTTreeLib.Utils;
namespace LINQToTTreeLib.Variables
{
/// <summary>
/// A simple variable (like int, etc.).
/// </summary>
public class VarSimple : IVariable
{
public string VariableName { get; private set; }
publ... | using System;
using LinqToTTreeInterfacesLib;
using LINQToTTreeLib.Utils;
namespace LINQToTTreeLib.Variables
{
/// <summary>
/// A simple variable (like int, etc.).
/// </summary>
public class VarSimple : IVariable
{
public string VariableName { get; private set; }
publ... | lgpl-2.1 | C# |
357c707be2ddae08998f1602959a2a3093b07b8d | Update PingMessage.cs (#7876) | fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation | UnityProject/Assets/Scripts/Messages/Client/PingMessage.cs | UnityProject/Assets/Scripts/Messages/Client/PingMessage.cs | using Mirror;
using UnityEngine;
namespace Messages.Client
{
public class PingMessage : ClientMessage<PingMessage.NetMessage>
{
public struct NetMessage : NetworkMessage { }
public override void Process(NetMessage msg)
{
Server.UpdateConnectedPlayersMessage.Send();
}
public static NetMessage Send()
... | using Mirror;
using UnityEngine;
namespace Messages.Client
{
public class PingMessage : ClientMessage<PingMessage.NetMessage>
{
public struct NetMessage : NetworkMessage { }
public override void Process(NetMessage msg)
{
Server.UpdateConnectedPlayersMessage.Send();
}
public static NetMessage Send()
... | agpl-3.0 | C# |
c627965ac1578c2e961138be3e3a1260966a8e51 | Reset font weight to 300. | flamestream/taction,flamestream/taction,flamestream/taction | App/CustomUIElement/HoldButton.cs | App/CustomUIElement/HoldButton.cs | using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using static Taction.Config;
namespace Taction.CustomUIElement {
/// <summary>
/// A button that supports holding down to execute key command.
/// </summary>
internal class HoldButton : Button {
private App App => (App)Applicatio... | using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using static Taction.Config;
namespace Taction.CustomUIElement {
/// <summary>
/// A button that supports holding down to execute key command.
/// </summary>
internal class HoldButton : Button {
private App App => (App)Applicatio... | mit | C# |
4e9abd41c0680cef72b034d942f5f9f11e947382 | improve error messages | chkr1011/MQTTnet,JTrotta/MQTTnet,chkr1011/MQTTnet,JTrotta/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,JTrotta/MQTTnet,JTrotta/MQTTnet,chkr1011/MQTTnet | Source/MQTTnet/Serializer/MqttPacketBodyReader.cs | Source/MQTTnet/Serializer/MqttPacketBodyReader.cs | using System;
using System.Text;
namespace MQTTnet.Serializer
{
public class MqttPacketBodyReader
{
private readonly byte[] _buffer;
private int _offset;
public MqttPacketBodyReader(byte[] buffer, int offset)
{
_buffer = buffer;
_offset = offset;
... | using System;
using System.Text;
namespace MQTTnet.Serializer
{
public class MqttPacketBodyReader
{
private readonly byte[] _buffer;
private int _offset;
public MqttPacketBodyReader(byte[] buffer, int offset)
{
_buffer = buffer;
_offset = offset;
... | mit | C# |
d9a1a147af9448f5bb3ff06684cc868e44f96556 | update pull interval to 15min | streetmilk/CoinStatIngester | CoinStatIngester/AutofacConfig.cs | CoinStatIngester/AutofacConfig.cs | using Autofac;
using CoinStatIngester.Data;
using CoinStatIngester.Infrastructure;
using System.Net.Http;
namespace CoinStatIngester
{
public class AutofacConfig
{
public ContainerBuilder Build()
{
var builder = new ContainerBuilder();
builder.RegisterType<HttpClient>(... | using Autofac;
using CoinStatIngester.Data;
using CoinStatIngester.Infrastructure;
using System.Net.Http;
namespace CoinStatIngester
{
public class AutofacConfig
{
public ContainerBuilder Build()
{
var builder = new ContainerBuilder();
builder.RegisterType<HttpClient>(... | mit | C# |
66082e0bb197d3023b7f21f203df4fd031446bcb | update S_ANSWER_INTERACTIVE for p103 | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TeraPacketParser/Messages/S_ANSWER_INTERACTIVE.cs | TeraPacketParser/Messages/S_ANSWER_INTERACTIVE.cs | namespace TeraPacketParser.Messages
{
public class S_ANSWER_INTERACTIVE : ParsedMessage
{
public string Name { get; }
public uint PlayerId { get; }
public uint ServerId { get; }
public bool HasGuild { get; }
public bool HasParty { get; }
public int Level { get; }... |
namespace TeraPacketParser.Messages
{
public class S_ANSWER_INTERACTIVE : ParsedMessage
{
public string Name { get; private set; }
public bool HasGuild { get; private set; }
public bool HasParty { get; private set; }
public uint Level { get; private set; }
public uint... | mit | C# |
f6fd773ae7ba95363809e3507019478f091afd73 | Add sanity test for 800 (DCCC). | pvasys/PillarRomanNumeralKata | VasysRomanNumeralsKataTest/ToRomanNumeralsTest.cs | VasysRomanNumeralsKataTest/ToRomanNumeralsTest.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using VasysRomanNumeralsKata;
namespace VasysRomanNumeralsKataTest
{
[TestClass]
public class ToRomanNumeralsTest
{
[TestMethod]
public void WhenRomanNumeralExtensionIsPassedTenItReturnsX()
{
int ten = 10;... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using VasysRomanNumeralsKata;
namespace VasysRomanNumeralsKataTest
{
[TestClass]
public class ToRomanNumeralsTest
{
[TestMethod]
public void WhenRomanNumeralExtensionIsPassedTenItReturnsX()
{
int ten = 10;... | mit | C# |
cdeaa6190b61f69adc0518cf3a7883e17dc65b6d | define the Bitswap API #61 | richardschneider/net-ipfs-core | src/CoreApi/IBitswapApi.cs | src/CoreApi/IBitswapApi.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Ipfs.CoreApi
{
/// <summary>
/// Data trading module for IPFS. Its purpose is to request blocks from and
/// send blocks to other peers in the network.
///... | using System;
using System.Collections.Generic;
using System.Text;
namespace Ipfs.CoreApi
{
/// <summary>
/// Interact with the bitswap agent.
/// </summary>
/// <remarks>
/// <note>Not yet ready for prime time.</note>
/// </remarks>
/// <seealso href="https://github.com/ip... | mit | C# |
1268429af166302f369034003aa4463b160da891 | Update validation.cake | xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents | .ci/validation.cake | .ci/validation.cake | #addin nuget:?package=Xamarin.Nuget.Validator&version=1.1.1
using Xamarin.Nuget.Validator;
// SECTION: Arguments and Settings
var ROOT_DIR = (DirectoryPath)Argument ("root", ".");
var ROOT_OUTPUT_DIR = ROOT_DIR.Combine ("output");
var PACKAGE_NAMESPACES = Argument ("n", Argument ("namespaces", ""))
.Split (new [... | #addin nuget:?package=Xamarin.Nuget.Validator&version=1.1.1
using Xamarin.Nuget.Validator;
// SECTION: Arguments and Settings
var ROOT_DIR = (DirectoryPath)Argument ("root", ".");
var ROOT_OUTPUT_DIR = ROOT_DIR.Combine ("output");
var PACKAGE_NAMESPACES = Argument ("n", Argument ("namespaces", ""))
.Split (new [... | mit | C# |
115e051dbd3b2fbe7eb5e42d7252bd89f3911a50 | make DefaultRequestExecutionPolicy.Default can be set | vinhch/BizwebSharp | src/BizwebSharp/Infrastructure/RequestPolicies/DefaultRequestExecutionPolicy.cs | src/BizwebSharp/Infrastructure/RequestPolicies/DefaultRequestExecutionPolicy.cs | using System.Threading.Tasks;
using RestSharp.Portable;
namespace BizwebSharp.Infrastructure.RequestPolicies
{
public class DefaultRequestExecutionPolicy : IRequestExecutionPolicy
{
public async Task<T> Run<T>(IRestClient client, ICustomRestRequest request,
ExecuteRequestAsync<T> executeRe... | using System.Threading.Tasks;
using RestSharp.Portable;
namespace BizwebSharp.Infrastructure.RequestPolicies
{
public class DefaultRequestExecutionPolicy : IRequestExecutionPolicy
{
public async Task<T> Run<T>(IRestClient client, ICustomRestRequest request,
ExecuteRequestAsync<T> executeRe... | mit | C# |
4d49c1b6f01200ec2d0b08d3db53d1d27813a378 | refactor solr out as multiple search can be use | Appleseed/base,Appleseed/base | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/IAlert.cs | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/IAlert.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
interface IAlert
{
List<UserAlert> GetUserAlertSchedules(string scheudle);
JSONRootObject GetSearchAlert(string query);
Task Send... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
interface IAlert
{
List<UserAlert> GetUserAlertSchedules(string scheudle);
JSONRootObject GetSearchAlertViaSolr(string query);
Ta... | apache-2.0 | C# |
adcac94847a3878f003165139af1fdca925332a2 | update login close loading and login view | cv13399/Mai_Project | Mai_project/Assets/MyUIManager.cs | Mai_project/Assets/MyUIManager.cs | using UnityEngine;
using System.Collections;
public class MyUIManager : MonoBehaviour
{
public UILabel loadingLabel;
public UIPanel loadingPanel;
public UIPanel loginPanel;
public UIEventListener LoginBtn;
// Use this for initialization
void Start ()
{
ButtonEventInitialize();
}
... | using UnityEngine;
using System.Collections;
public class MyUIManager : MonoBehaviour
{
public UILabel loadingLabel;
public UIPanel loadingPanel;
public UIEventListener LoginBtn;
// Use this for initialization
void Start ()
{
ButtonEventInitialize();
}
void ButtonEventInitialize()
... | mit | C# |
c374f8cb7f34175b0ee7e2976d086ae18daf124a | Remove unused code | nwoolls/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner,IWBWbiz/MultiMiner | MultiMiner.Xgminer.Api/ApiVerb.cs | MultiMiner.Xgminer.Api/ApiVerb.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MultiMiner.Xgminer.Api
{
public static class ApiVerb
{
public const string Devs = "devs";
public const string Quit = "quit";
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MultiMiner.Xgminer.Api
{
public static class ApiVerb
{
public const string Config = "config";
public const string Devs = "devs";
public const string Quit = "qui... | mit | C# |
5920f24c3aa63b54852bbabd7ef0f46fd1ff2460 | Refactor UsersEndpoint to inherit ApiEndpoint | TattsGroup/octokit.net,cH40z-Lord/octokit.net,ChrisMissal/octokit.net,shiftkey-tester/octokit.net,brramos/octokit.net,shiftkey-tester/octokit.net,SamTheDev/octokit.net,takumikub/octokit.net,hitesh97/octokit.net,eriawan/octokit.net,nsrnnnnn/octokit.net,devkhan/octokit.net,SamTheDev/octokit.net,geek0r/octokit.net,shana/o... | Octopi/Endpoints/UsersEndpoint.cs | Octopi/Endpoints/UsersEndpoint.cs | using System;
using System.Threading.Tasks;
using Octopi.Http;
namespace Octopi.Endpoints
{
/// <summary>
/// Supports the ability to get and update users via the GitHub API v3.
/// http://developer.github.com/v3/users/
/// </summary>
public class UsersEndpoint : ApiEndpoint<User>, IUsersEndpoint
... | using System;
using System.Threading.Tasks;
using Octopi.Http;
namespace Octopi.Endpoints
{
/// <summary>
/// Supports the ability to get and update users via the GitHub API v3.
/// http://developer.github.com/v3/users/
/// </summary>
public class UsersEndpoint : IUsersEndpoint
{
stati... | mit | C# |
54462d1cf749771167fba0efc0fbf52f13c75010 | use default value for `MaxTransactionsPerBlock` | AntShares/AntShares,shargon/neo | neo/Settings.cs | neo/Settings.cs | using Microsoft.Extensions.Configuration;
using Neo.Core;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Neo
{
internal class Settings
{
public uint Magic { get; private set; }
public byte AddressVersion { get; private set; }
public int MaxTransactionsPerB... | using Microsoft.Extensions.Configuration;
using Neo.Core;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Neo
{
internal class Settings
{
public uint Magic { get; private set; }
public byte AddressVersion { get; private set; }
public int MaxTransactionsPerB... | mit | C# |
a3d7e0a35b67faae7cfba92f84a931e269acac88 | Update summary | HelloKitty/Booma.Proxy | src/Booma.Proxy.Packets.PatchServer/Payloads/Server/PatchingFileCheckRequestPayload.cs | src/Booma.Proxy.Packets.PatchServer/Payloads/Server/PatchingFileCheckRequestPayload.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreecraftCore.Serializer;
namespace Booma.Proxy
{
/// <summary>
/// Requests a file check for updating
/// </summary>
[WireDataContract]
[PatchServerPacketPayload(PatchNetworkOperationCodes.P... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreecraftCore.Serializer;
namespace Booma.Proxy
{
/// <summary>
/// Sets the file we are going to update
/// </summary>
[WireDataContract]
[PatchServerPacketPayload(PatchNetworkOperationCodes... | agpl-3.0 | C# |
aa0c8c08247a54a5424009e00785dfc7de481b04 | add track function | GRGSIBERIA/maya-camera | MayaCamera.cs | MayaCamera.cs | using UnityEngine;
using System.Collections;
public class MayaCamera : MonoBehaviour {
public float dollySpeed = 1f;
public float tumbleSpeed = 1f;
public float trackSpeed = 1f;
Vector3 prevMousePosition;
Vector3 prevMouseSpeed;
public Vector3 mouseSpeed;
public Vector3 mouseAccel;
// Use this for initial... | using UnityEngine;
using System.Collections;
public class MayaCamera : MonoBehaviour {
public float dollySpeed;
public float tumbleSpeed;
public float trackSpeed;
Vector3 prevMousePosition;
Vector3 prevMouseSpeed;
public Vector3 mouseSpeed;
public Vector3 mouseAccel;
// Use this for initialization
void Sta... | bsd-3-clause | C# |
af2481875f0617b09922decef722d27c29bc93c6 | update to 2.0.0 | urielha/log4stash,urielha/log4stash | src/log4stash/AssemblyVersionInfo.cs | src/log4stash/AssemblyVersionInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("1.0.0")]
[assembly: AssemblyFileVersion("2.0.0")] | using System.Reflection;
[assembly: AssemblyVersion("1.0.0")]
[assembly: AssemblyFileVersion("1.0.0")] | mit | C# |
751381401a1470435937b419e2dd681d78eaf595 | Make interval configurable in Scheduler | Lc5/CurrencyRates,Lc5/CurrencyRates,Lc5/CurrencyRates | CurrencyRates.WindowsService/Scheduler.cs | CurrencyRates.WindowsService/Scheduler.cs | using CurrencyRates.Base.Service;
using System.Diagnostics;
using System.ServiceProcess;
using System.Timers;
namespace CurrencyRates.WindowsService
{
public partial class Scheduler : ServiceBase
{
static int EventId;
readonly int Interval;
readonly Synchronizer Synchronizer... | using CurrencyRates.Base.Service;
using System.Diagnostics;
using System.ServiceProcess;
using System.Timers;
namespace CurrencyRates.WindowsService
{
public partial class Scheduler : ServiceBase
{
static int EventId;
readonly Synchronizer Synchronizer;
public Scheduler(Sy... | mit | C# |
b4eebdecb02ea1d2680b0240edd98eafbd2ad94b | Update PointDrawNode.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Modules/Renderer/SkiaSharp/Nodes/PointDrawNode.cs | src/Core2D/Modules/Renderer/SkiaSharp/Nodes/PointDrawNode.cs | #nullable enable
using Core2D.Model.Renderer.Nodes;
using Core2D.ViewModels.Shapes;
using Core2D.ViewModels.Style;
using SkiaSharp;
using Core2D.Spatial;
namespace Core2D.Modules.Renderer.SkiaSharp.Nodes;
internal class PointDrawNode : DrawNode, IPointDrawNode
{
public PointShapeViewModel Point { get; set; }
... | #nullable enable
using Core2D.Model.Renderer.Nodes;
using Core2D.ViewModels.Shapes;
using Core2D.ViewModels.Style;
using SkiaSharp;
using Core2D.Spatial;
namespace Core2D.Modules.Renderer.SkiaSharp.Nodes;
internal class PointDrawNode : DrawNode, IPointDrawNode
{
public PointShapeViewModel Point { get; set; }
... | mit | C# |
3d0117c9db154350440072db56d488d7afd3ddae | Fix finalization warning message for Cairo.Path. | openmedicus/gtk-sharp,akrisiun/gtk-sharp,sillsdev/gtk-sharp,sillsdev/gtk-sharp,orion75/gtk-sharp,akrisiun/gtk-sharp,Gankov/gtk-sharp,sillsdev/gtk-sharp,orion75/gtk-sharp,Gankov/gtk-sharp,Gankov/gtk-sharp,antoniusriha/gtk-sharp,akrisiun/gtk-sharp,Gankov/gtk-sharp,antoniusriha/gtk-sharp,openmedicus/gtk-sharp,akrisiun/gtk... | cairo/Path.cs | cairo/Path.cs | //
// Mono.Cairo.Context.cs
//
// Author:
// Miguel de Icaza (miguel@novell.com)
//
// This is an OO wrapper API for the Cairo API.
//
// Copyright 2007 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentati... | //
// Mono.Cairo.Context.cs
//
// Author:
// Miguel de Icaza (miguel@novell.com)
//
// This is an OO wrapper API for the Cairo API.
//
// Copyright 2007 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentati... | lgpl-2.1 | C# |
ee3a03c58cf27ac1af34450706c0e73f1a900dbb | Update EmployerAccountsApiHttpClientFactory.cs | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerApprenticeshipsService.Application/Services/EmployerAccountsApi/Http/EmployerAccountsApiHttpClientFactory.cs | src/SFA.DAS.EmployerApprenticeshipsService.Application/Services/EmployerAccountsApi/Http/EmployerAccountsApiHttpClientFactory.cs | using System;
using System.Net.Http;
using SFA.DAS.EAS.Domain.Configuration;
using SFA.DAS.Http;
using SFA.DAS.Http.TokenGenerators;
namespace SFA.DAS.EAS.Application.Services.EmployerAccountsApi.Http
{
public class EmployerAccountsApiHttpClientFactory : IEmployerAccountsApiHttpClientFactory
{
private... | using System;
using System.Net.Http;
using SFA.DAS.EAS.Domain.Configuration;
using SFA.DAS.Http;
using SFA.DAS.Http.TokenGenerators;
namespace SFA.DAS.EAS.Application.Services.EmployerAccountsApi.Http
{
public class EmployerAccountsApiHttpClientFactory : IEmployerAccountsApiHttpClientFactory
{
private... | mit | C# |
b1f52a92fcd825a4a2b2f25319c19633bfb29204 | reset AssemblyVersion to 1.0.0.0 | nataren/NServiceKit.Redis,MindTouch/NServiceKit.Redis,NServiceKit/NServiceKit.Redis | src/ServiceStack.Redis/Properties/AssemblyInfo.cs | src/ServiceStack.Redis/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ser... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ser... | bsd-3-clause | C# |
1cc4fd3c20a1b6100b5436f5d08abc5b7395d425 | Update Palindrome-Checker.cs | DeanCabral/Code-Snippets | Console/Palindrome-Checker.cs | Console/Palindrome-Checker.cs | class Palindrome
{
static void Main(string[] args)
{
GetUserInput();
}
static void GetUserInput()
{
string input = "";
string output = "";
Console.Write("Enter a word: ");
input = Console.ReadLine();
in... | class Palindrome
{
static void Main(string[] args)
{
GetUserInput();
}
static void GetUserInput()
{
string input = "";
string output = "";
Console.Write("Enter a word: ");
input = Console.ReadLine();
o... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.