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 |
|---|---|---|---|---|---|---|---|---|
be4058a85184d5cd798ea6f887e9d22ca003a8a7 | Use <see> in docs. | Faithlife/Parsing | src/Faithlife.Parsing/Parser.cs | src/Faithlife.Parsing/Parser.cs | namespace Faithlife.Parsing;
/// <summary>
/// Helper methods for creating and executing parsers.
/// </summary>
public static partial class Parser
{
/// <summary>
/// Creates a parser from a delegate.
/// </summary>
public static IParser<T> Create<T>(Func<TextPosition, IParseResult<T>> parse) => new SimpleParser<... | namespace Faithlife.Parsing;
/// <summary>
/// Helper methods for creating and executing parsers.
/// </summary>
public static partial class Parser
{
/// <summary>
/// Creates a parser from a delegate.
/// </summary>
public static IParser<T> Create<T>(Func<TextPosition, IParseResult<T>> parse) => new SimpleParser<... | mit | C# |
7b4e5519a5d1d5faa3bad6d9ea91417a7f10c24a | Update JesseLiberty.cs (#745) | planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin | src/Firehose.Web/Authors/JesseLiberty.cs | src/Firehose.Web/Authors/JesseLiberty.cs | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class JesseLiberty : IAmACommunityMember
{
public string FirstName => "Jesse";
public string LastName => "Liberty";
public string ShortBioOrTagLine => "See http://j... | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class JesseLiberty : IAmACommunityMember
{
public string FirstName => "Jesse";
public string LastName => "Liberty";
public string ShortBioOrTagLine => "See http://j... | mit | C# |
427b99f37869130c1876be8f2fdede1eadb3f674 | Update ThomasRayner.cs | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/ThomasRayner.cs | src/Firehose.Web/Authors/ThomasRayner.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 ThomasRayner : IAmAMicrosoftMVP
{
public string FirstName => "Thomas";
public string LastN... | 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 ThomasRayner : IAmAMicrosoftMVP
{
public string FirstName => "Thomas";
public string LastN... | mit | C# |
7361751f70512e6d70de080efd0a0297247b386f | Update DependencyConfiguration.cs | wmkDev/CiSampleNetCore,wmkDev/CiSampleNetCore,wmkDev/CiSampleNetCore | src/CiSampleNetCore/99-Common/CiSampleNetCore.Dependency/DependencyConfiguration.cs | src/CiSampleNetCore/99-Common/CiSampleNetCore.Dependency/DependencyConfiguration.cs | using CiSampleNetCore.Contracts;
using CiSampleNetCore.Data.EfContext;
using CiSampleNetCore.Services;
using Microsoft.Extensions.DependencyInjection;
namespace CiSampleNetCore.Dependency
{
public static class DependencyConfiguration
{
public static void ConfigureServices(this IServiceCollection servic... | using System.Configuration;
using CiSampleNetCore.Contracts;
using CiSampleNetCore.Data.EfContext;
using CiSampleNetCore.Services;
using Microsoft.Extensions.DependencyInjection;
namespace CiSampleNetCore.Dependency
{
public static class DependencyConfiguration
{
public static void ConfigureServices(t... | mit | C# |
4deb126f76439100253a0e07d3c93e5cc9002b53 | Add task wrapping result helper | OrleansContrib/Orleankka,OrleansContrib/Orleankka | Source/Orleankka/ActorMessage.cs | Source/Orleankka/ActorMessage.cs | using System;
using System.Threading.Tasks;
using Orleans;
namespace Orleankka
{
using Meta;
/// <summary>
/// Base message interface for strongly typed actor messages
/// </summary>
/// <typeparam name="TActor">The type of the actor to which this message belongs</typeparam>
public interface... | using System;
using System.Threading.Tasks;
using Orleans;
namespace Orleankka
{
using Meta;
/// <summary>
/// Base message interface for strongly typed actor messages
/// </summary>
/// <typeparam name="TActor">The type of the actor to which this message belongs</typeparam>
public interface... | apache-2.0 | C# |
5729551691199b9f2ccd43f0a85984115736e56b | Update TrippleSum.cs | stoyanov7/SoftwareUniversity,stoyanov7/SoftwareUniversity,stoyanov7/SoftwareUniversity,stoyanov7/SoftwareUniversity | TechnologiesFundamentals/ProgrammingFundamentals/ArraysAndLists-Excercises/04.TrippleSum/04.TrippleSum/TrippleSum.cs | TechnologiesFundamentals/ProgrammingFundamentals/ArraysAndLists-Excercises/04.TrippleSum/04.TrippleSum/TrippleSum.cs | using System;
using System.Linq;
public class TrippleSum
{
public static void Main(string[] args)
{
int[] array = Console.ReadLine()
.Split(' ')
.Select(int.Parse).
ToArray();
bool hasFoundSum = false;
for (int i = 0; i < array.Length; i++)
... | using System;
using System.Linq;
public class TrippleSum
{
public static void Main(string[] args)
{
int[] array = Console.ReadLine()
.Split(' ')
.Select(int.Parse).
ToArray();
bool hasFoundSum = false;
for (int i = 0; i < array.Length; i++)
... | mit | C# |
93075fd8c018885f8cbf628655b2b80d86bbeb24 | Add connection | Orationi/Master | Orationi.Master/Services/OrationiMasterService.cs | Orationi.Master/Services/OrationiMasterService.cs | using System.IO;
using System.ServiceModel;
using Orationi.CommunicationCore.Interfaces;
using Orationi.CommunicationCore.Model;
using Orationi.Master.Interfaces;
namespace Orationi.Master.Services
{
[ServiceBehavior(InstanceContextMode = InstanceContextMode.PerSession)]
public class OrationiMasterService : IOratio... | using System.IO;
using System.ServiceModel;
using Orationi.CommunicationCore.Interfaces;
using Orationi.CommunicationCore.Model;
using Orationi.Master.Interfaces;
namespace Orationi.Master.Services
{
[ServiceBehavior(InstanceContextMode = InstanceContextMode.PerSession)]
public class OrationiMasterService : IOratio... | mit | C# |
da13cec154b0fc6be23aec8783614c668b8ca09e | Change RSA_OAEP to RSA-OAEP. | bgold09/azure-sdk-for-net,jamestao/azure-sdk-for-net,ahosnyms/azure-sdk-for-net,xindzhan/azure-sdk-for-net,pinwang81/azure-sdk-for-net,atpham256/azure-sdk-for-net,ailn/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,vladca/azure-sdk-for-net,hyonholee/azure-sdk-for-net,brjohnstmsft/az... | src/KeyVault/Microsoft.Azure.KeyVault/WebKey/JsonWebKeyEncryptionAlgorithms.cs | src/KeyVault/Microsoft.Azure.KeyVault/WebKey/JsonWebKeyEncryptionAlgorithms.cs | //
// Copyright © Microsoft Corporation, 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 CODE IS PROVIDED ... | //
// Copyright © Microsoft Corporation, 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 CODE IS PROVIDED ... | apache-2.0 | C# |
a70512f5a2f8867c7b00f2a9f323a691bab73f94 | Update LadderMove | bunashibu/kikan | Assets/Scripts/Movement/Behaviour/LadderMove.cs | Assets/Scripts/Movement/Behaviour/LadderMove.cs | using UnityEngine;
using System.Collections;
namespace Bunashibu.Kikan {
public class LadderMove {
public void FixedUpdate(Transform trans) {
if (_actFlag) {
trans.Translate(_direction * 0.04f);
_actFlag = false;
}
}
public void MoveUp() {
Move(Vector2.up);
}
... | using UnityEngine;
using System.Collections;
namespace Bunashibu.Kikan {
public class LadderMove {
public void FixedUpdate(Transform trans) {
if (_actFlag) {
trans.Translate(_inputVec * 0.04f);
_actFlag = false;
}
}
public void MoveUp() {
_actFlag = true;
_inputV... | mit | C# |
41913d5043a4872d0a6af3d43e6f119eb412a0b6 | Add PropertyName to relationship to bring in line with attribute | joukevandermaas/saule,laurence79/saule,sergey-litvinov-work/saule,bjornharrtell/saule | Saule/ResourceRelationship.cs | Saule/ResourceRelationship.cs | namespace Saule
{
/// <summary>
/// Represents a related resource (to-one or to-many).
/// </summary>
public abstract class ResourceRelationship
{
/// <summary>
/// Initializes a new instance of the <see cref="ResourceRelationship"/> class.
/// </summary>
/// <para... | namespace Saule
{
/// <summary>
/// Represents a related resource (to-one or to-many).
/// </summary>
public abstract class ResourceRelationship
{
/// <summary>
/// Initializes a new instance of the <see cref="ResourceRelationship"/> class.
/// </summary>
/// <para... | mit | C# |
033024b32f5a4499909fd9f18765fdba40a142f6 | clear cookies each test run | OlegKleyman/AlphaDev,OlegKleyman/AlphaDev,OlegKleyman/AlphaDev | tests/integration/AlphaDev.Web.Tests.Integration/Features/WebFeatureFixture.cs | tests/integration/AlphaDev.Web.Tests.Integration/Features/WebFeatureFixture.cs | using System;
using AlphaDev.Web.Tests.Integration.Fixtures;
using LightBDD.XUnit2;
using Xunit;
using Xunit.Abstractions;
namespace AlphaDev.Web.Tests.Integration.Features
{
public class WebFeatureFixture : FeatureFixture, IClassFixture<DatabaseWebServerFixture>, IDisposable
{
protected const string ... | using System;
using AlphaDev.Web.Tests.Integration.Fixtures;
using LightBDD.XUnit2;
using Xunit;
using Xunit.Abstractions;
namespace AlphaDev.Web.Tests.Integration.Features
{
public class WebFeatureFixture : FeatureFixture, IClassFixture<DatabaseWebServerFixture>, IDisposable
{
protected const string ... | unlicense | C# |
8d95acedeb361a7efd69072992af6b6ab1ccee59 | Add some more comments | xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents | Android/Crashlytics/samples/CrashlyticsSample/CrashlyticsSample/MainActivity.cs | Android/Crashlytics/samples/CrashlyticsSample/CrashlyticsSample/MainActivity.cs | using Android.App;
using Android.Widget;
using Android.OS;
using Java.Lang;
using Android.Views;
using System;
// OPTIONAL: Don't need this for firebase console integration
//[assembly: MetaData("io.fabric.ApiKey", Value = "<FABRIC_API_KEY>")]
// IMPORTANT: You must also be sure to add a `com.crashlytics.android.bui... | using Android.App;
using Android.Widget;
using Android.OS;
using Java.Lang;
using Android.Views;
using System;
[assembly: MetaData("io.fabric.ApiKey", Value ="<FABRIC_API_KEY>")]
namespace CrashlyticsSample
{
[Activity(Label = "Crashlytics Sample", MainLauncher = true, Icon = "@mipmap/icon")]
public class Ma... | mit | C# |
1adc045aa05c743f47b51ab332e8dd8b5af57c1a | Update DeserializerException.cs | tiksn/TIKSN-Framework | TIKSN.Core/Serialization/DeserializerException.cs | TIKSN.Core/Serialization/DeserializerException.cs | using System;
using System.Runtime.Serialization;
namespace TIKSN.Serialization
{
[Serializable]
public class DeserializerException : Exception
{
public DeserializerException()
{
}
public DeserializerException(string message) : base(message)
{
}
pu... | using System;
namespace TIKSN.Serialization
{
[Serializable]
public class DeserializerException : Exception
{
public DeserializerException()
{
}
public DeserializerException(string message) : base(message)
{
}
public DeserializerException(string me... | mit | C# |
c10e10c42a304c7b39863db7c4739f613d3a57ac | Document IOperationCodeable | HelloKitty/Booma.Proxy | src/Booma.Packet.Common/Message/IOperationCodeable.cs | src/Booma.Packet.Common/Message/IOperationCodeable.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Booma.Proxy;
namespace Booma
{
/// <summary>
/// Contract for types/objects that are operation-coded.
/// </summary>
/// <typeparam name="TOperationCodeType">The operation code type.</typepara... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Booma.Proxy;
namespace Booma
{
public interface IOperationCodeable<TOperationCodeType>
public interface IOperationCodeable<out TOperationCodeType>
where TOperationCodeType : Enum
{
TOperati... | agpl-3.0 | C# |
31a5f276b8b9e3ffb1884021c3bd127d1b5cf14c | Mark CountedForm as non-abstract with DEBUG | tgstation/tgstation-server,Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server | TGControlPanel/CountedForm.cs | TGControlPanel/CountedForm.cs | using System.Windows.Forms;
namespace TGControlPanel
{
/// <summary>
/// Calls <see cref="Application.Exit()"/> when all <see cref="CountedForm"/>s are <see cref="Form.Close"/>d
/// </summary>
#if !DEBUG
abstract class CountedForm : Form
#else
class CountedForm : Form
#endif
{
/// <summary>
/// The current ... | using System.Windows.Forms;
namespace TGControlPanel
{
/// <summary>
/// Calls <see cref="Application.Exit()"/> when all <see cref="CountedForm"/>s are <see cref="Form.Close"/>d
/// </summary>
abstract class CountedForm : Form
{
/// <summary>
/// The current number of active <see cref="CountedForm"/>s
/// ... | agpl-3.0 | C# |
246e61ddb980c42e091b9f3ad611daa4ef77e2cb | change logging apikey | cssho/VSMarketplaceBadge,cssho/VSMarketplaceBadge | VSMarketplaceBadge/Utility.cs | VSMarketplaceBadge/Utility.cs | using Newtonsoft.Json;
using System;
using System.Configuration;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using VSMarketplaceBadge.Models;
namespace VSMarketplaceBadge
{
public static class Utility
{
private static readonly string apiKey = Configuration... | using Newtonsoft.Json;
using System;
using System.Configuration;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using VSMarketplaceBadge.Models;
namespace VSMarketplaceBadge
{
public static class Utility
{
private static readonly string apiKey = ConfigurationManager.AppSetting... | mit | C# |
e44bb69908c272ffaa85ab57ddf1e68d16d31462 | Add cluster_uuid to root of the cluster_state response (#3443) | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Nest/Cluster/ClusterState/ClusterStateResponse.cs | src/Nest/Cluster/ClusterState/ClusterStateResponse.cs | using System.Collections.Generic;
using Newtonsoft.Json;
namespace Nest
{
public interface IClusterStateResponse : IResponse
{
[JsonProperty("cluster_name")]
string ClusterName { get; }
[JsonProperty("master_node")]
string MasterNode { get; }
[JsonProperty("state_uuid")]
string StateUUID { get; }
/... | using System.Collections.Generic;
using Newtonsoft.Json;
namespace Nest
{
public interface IClusterStateResponse : IResponse
{
[JsonProperty("cluster_name")]
string ClusterName { get; }
[JsonProperty("master_node")]
string MasterNode { get; }
[JsonProperty("state_uuid")]
string StateUUID { get; }
[... | apache-2.0 | C# |
a7651c66e161a6600a82d972419a66a49ea61786 | Make partial. | DimensionDataCBUSydney/jab | jab/jab/Test/ServiceTests.cs | jab/jab/Test/ServiceTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NSwag;
using Xunit;
namespace jab.Test
{
public partial class ServiceTests
{
const string testDefinition = "samples/example.json";
/// <summary>
/// Require HTTPS ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NSwag;
using Xunit;
namespace jab.Test
{
public class ServiceTests
{
const string testDefinition = "samples/example.json";
/// <summary>
/// Require HTTPS support.... | apache-2.0 | C# |
c6616f9c31e5e111244981eebc37dc48941d4567 | Fix InsertHorizontalRule | asposewords/Aspose_Words_NET,asposewords/Aspose_Words_NET,aspose-words/Aspose.Words-for-.NET,aspose-words/Aspose.Words-for-.NET,aspose-words/Aspose.Words-for-.NET,asposewords/Aspose_Words_NET,aspose-words/Aspose.Words-for-.NET,asposewords/Aspose_Words_NET | Examples/CSharp/Programming-Documents/Document/DocumentBuilderInsertHorizontalRule.cs | Examples/CSharp/Programming-Documents/Document/DocumentBuilderInsertHorizontalRule.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aspose.Words.Examples.CSharp.Programming_Documents.Working_With_Document
{
class DocumentBuilderInsertHorizontalRule
{
public static void Run()
{
// The pat... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aspose.Words.Examples.CSharp.Programming_Documents.Working_With_Document
{
class DocumentBuilderInsertHorizontalRule
{
public static void Run()
{
// The pat... | mit | C# |
440f032c51fb4d09af574dab785032129176c476 | Update state string to Header referer | davidebbo/SimpleWAWS,projectkudu/SimpleWAWS,projectkudu/TryAppService,projectkudu/TryAppService,projectkudu/TryAppService,davidebbo/SimpleWAWS,projectkudu/SimpleWAWS,fashaikh/SimpleWAWS,fashaikh/SimpleWAWS,davidebbo/SimpleWAWS,projectkudu/SimpleWAWS,projectkudu/TryAppService,fashaikh/SimpleWAWS,fashaikh/SimpleWAWS,davi... | SimpleWAWS/Authentication/GoogleAuthProvider.cs | SimpleWAWS/Authentication/GoogleAuthProvider.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
namespace SimpleWAWS.Authentication
{
public class GoogleAuthProvider : BaseOpenIdConnectAuthProvider
{
public override stri... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
namespace SimpleWAWS.Authentication
{
public class GoogleAuthProvider : BaseOpenIdConnectAuthProvider
{
public override stri... | apache-2.0 | C# |
0b163d498de955ccefe08f9212a4934b3d5478b9 | Bump version | cyotek/Cyotek.Windows.Forms.ImageBox | Cyotek.Windows.Forms.ImageBox/Properties/AssemblyInfo.cs | Cyotek.Windows.Forms.ImageBox/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
// TODO: Next major version reset AssemblyVersion to ensure no strong name versioning nonsense
[assembly: AssemblyTitle("Cyotek ImageBox Control")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: Assembly... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
// TODO: Next major version reset AssemblyVersion to ensure no strong name versioning nonsense
[assembly: AssemblyTitle("Cyotek ImageBox Control")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: Assembl... | mit | C# |
a22d1ac135852e956acad31e7dbe4f4aee2a0a91 | Add Comments | yuanguozheng/XiyouMobileFoundation | XiyouMobileFoundation/ImageUtils/XYMImageUtils.cs | XiyouMobileFoundation/ImageUtils/XYMImageUtils.cs | /**
* Copyright (C) 2015 Xiyou Mobile Application Lab.
*
* XiyouMobileFoundation
*
* XYMImageUtils.cs
*
* Created by Yuan Guozheng on 2015-6-10.
*/
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
namespace XiyouMobileFoundation.Im... | using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
namespace XiyouMobileFoundation.ImageUtils
{
public class XYMImageUtils
{
/// <summary>
/// byte[] 转图片
/// </summary>
/// <param name="bytesArray">需要转换的B... | apache-2.0 | C# |
2c314526fd5430ee4fa6e9d45c40c969e1dd42bc | rename option in AssetService | vinhch/BizwebSharp | src/BizwebSharp/Services/Asset/AssetService.cs | src/BizwebSharp/Services/Asset/AssetService.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using BizwebSharp.Entities;
using BizwebSharp.Infrastructure;
namespace BizwebSharp.Services
{
public class AssetService : BaseService
{
public AssetService(BizwebAuthorizationState authState) : base(authState)
{
}
... | using System.Collections.Generic;
using System.Threading.Tasks;
using BizwebSharp.Entities;
using BizwebSharp.Infrastructure;
namespace BizwebSharp.Services
{
public class AssetService : BaseService
{
public AssetService(BizwebAuthorizationState authState) : base(authState)
{
}
... | mit | C# |
5b88b9fb6ddc9b76d8ded3fb571434827fabcc2a | fix overzealous use of UseEnumValueNameForStringColumns | MaceWindu/linq2db,MaceWindu/linq2db,LinqToDB4iSeries/linq2db,LinqToDB4iSeries/linq2db,ronnyek/linq2db,linq2db/linq2db,linq2db/linq2db | Source/LinqToDB/Extensions/MappingExtensions.cs | Source/LinqToDB/Extensions/MappingExtensions.cs | using System;
namespace LinqToDB.Extensions
{
using Common;
using Mapping;
using SqlQuery;
static class MappingExtensions
{
public static SqlValue GetSqlValue(this MappingSchema mappingSchema, object value)
{
if (value == null)
throw new InvalidOperationException();
return GetSqlVa... | using System;
namespace LinqToDB.Extensions
{
using Common;
using Mapping;
using SqlQuery;
static class MappingExtensions
{
public static SqlValue GetSqlValue(this MappingSchema mappingSchema, object value)
{
if (value == null)
throw new InvalidOperationException();
return GetSqlVa... | mit | C# |
69a6286da8bb2292c9af2ab1b0c2cf0105a7b45a | remove redundant code | bau-build/bau,modulexcite/bau,huoxudong125/bau,adamralph/bau,eatdrinksleepcode/bau,modulexcite/bau,modulexcite/bau,eatdrinksleepcode/bau,adamralph/bau,modulexcite/bau,adamralph/bau,bau-build/bau,huoxudong125/bau,bau-build/bau,aarondandy/bau,huoxudong125/bau,aarondandy/bau,aarondandy/bau,huoxudong125/bau,aarondandy/bau,... | src/Bau/BauTaskExtensions.cs | src/Bau/BauTaskExtensions.cs | // <copyright file="BauTaskExtensions.cs" company="Bau contributors">
// Copyright (c) Bau contributors. (baubuildch@gmail.com)
// </copyright>
namespace BauCore
{
public static class BauTaskExtensions
{
public static void LogFatal(this IBauTask task, string message)
{
L... | // <copyright file="BauTaskExtensions.cs" company="Bau contributors">
// Copyright (c) Bau contributors. (baubuildch@gmail.com)
// </copyright>
namespace BauCore
{
using System;
public static class BauTaskExtensions
{
public static void LogFatal(this IBauTask task, string message)
... | mit | C# |
729a48436cbe7339b7953c04fab93540bdccea64 | change namespace | SimoPrG/TeamManticore | Core/TelerikBird.cs | Core/TelerikBird.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FlappyManticore
{
class TelerikBird
{
public char[][] array = new char[4][]; //this char array represents the bird.
string wingsTopStreight = @"\ /";
string... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Core
{
class TelerikBird
{
public char[][] array = new char[4][]; //this char array represents the bird.
string wingsTopStreight = @"\ /";
string wingsBotto... | mit | C# |
912305492ef177d840a979dad47de9f12c00278c | Simplify string tests in FetchRequestTests | HCanber/kafkaclient-net | src/KafkaClient.Tests/Api/FetchRequestTests.cs | src/KafkaClient.Tests/Api/FetchRequestTests.cs | using System;
using KafkaClient.Api;
using KafkaClient.Tests.TestHelpers;
using KafkaClient.Utils;
using Xunit;
using Xunit.Should;
namespace KafkaClient.Tests.Api
{
public class FetchRequestTests
{
[Fact]
public void Given_single_request_Then_Write_writes_correct()
{
var request = FetchReque... | using System;
using KafkaClient.Api;
using KafkaClient.Utils;
using Xunit;
using Xunit.Should;
namespace KafkaClient.Tests.Api
{
public class FetchRequestTests
{
[Fact]
public void Given_single_request_Then_Write_writes_correct()
{
var request = FetchRequest.CreateSingleRequest(topic: "test", ... | mit | C# |
e148c308d4a97d8bddafc908174429695b307bf7 | Fix LanguageDepotProjectTest setup | sillsdev/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge | src/LfMerge.Tests/LanguageDepotProjectTests.cs | src/LfMerge.Tests/LanguageDepotProjectTests.cs | // Copyright (c) 2016 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using System.Linq;
using System.Net.NetworkInformation;
using NUnit.Framework;
namespace LfMerge.Tests
{
[TestFixture]
public class LanguageDepotProjectTests
{
private Tes... | // Copyright (c) 2016 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using System.Linq;
using System.Net.NetworkInformation;
using NUnit.Framework;
namespace LfMerge.Tests
{
[TestFixture]
public class LanguageDepotProjectTests
{
private Tes... | mit | C# |
15dc12f80de05a67675bad8af9bf65ea8a5fb048 | Format file. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | src/MitternachtBot/Resources/CommandStrings.cs | src/MitternachtBot/Resources/CommandStrings.cs | using System;
using System.IO;
using System.Linq;
using Mitternacht.Common.Collections;
using NLog;
using YamlDotNet.Serialization;
namespace Mitternacht.Resources {
public class CommandStrings {
private static readonly Logger Log;
private const string CmdStringPath = @"./_strings/commandstrings.yml";
private s... | using System;
using System.IO;
using System.Linq;
using Mitternacht.Common.Collections;
using NLog;
using YamlDotNet.Serialization;
namespace Mitternacht.Resources {
public class CommandStrings
{
private static readonly Logger Log;
private const string CmdStringPath = @"./_strings/commandstrings.y... | mit | C# |
e72b8c4bed4eaec229aab7336cdb2df19f00eb35 | Update SweepGeneratorTests.cs | hannan-azam/Orchard,sfmskywalker/Orchard,JRKelso/Orchard,grapto/Orchard.CloudBust,SzymonSel/Orchard,gcsuk/Orchard,mvarblow/Orchard,dmitry-urenev/extended-orchard-cms-v10.1,sfmskywalker/Orchard-Off-The-Grid-Sample-Code,bedegaming-aleksej/Orchard,sfmskywalker/Orchard,SzymonSel/Orchard,omidnasri/Orchard,Praggie/Orchard,fa... | src/Orchard.Tests/Tasks/SweepGeneratorTests.cs | src/Orchard.Tests/Tasks/SweepGeneratorTests.cs | using System;
using Autofac;
using Moq;
using NUnit.Framework;
using Orchard.Environment;
using Orchard.Mvc;
using Orchard.Tasks;
using Orchard.Tests.Stubs;
using Orchard.Tests.Utility;
namespace Orchard.Tests.Tasks {
[TestFixture]
public class SweepGeneratorTests : ContainerTestBase {
pr... | using System;
using Autofac;
using Moq;
using NUnit.Framework;
using Orchard.Environment;
using Orchard.Mvc;
using Orchard.Tasks;
using Orchard.Tests.Stubs;
using Orchard.Tests.Utility;
namespace Orchard.Tests.Tasks {
[TestFixture]
public class SweepGeneratorTests : ContainerTestBase {
pr... | bsd-3-clause | C# |
5f9a522092b60691f07ca58dc6b96e54389e1d38 | Apply stlye classes to the rejectec status tag | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/VacancyRejected.cshtml | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/VacancyRejected.cshtml | @model SFA.DAS.EmployerAccounts.Web.ViewModels.VacancyViewModel
<section class="dashboard-section">
<h2 class="section-heading heading-large">
Your apprenticeship advert
</h2>
<p>You have created a vacancy for your apprenticeship.</p>
<table class="responsive">
<tr>
<th sc... | @model SFA.DAS.EmployerAccounts.Web.ViewModels.VacancyViewModel
<section class="dashboard-section">
<h2 class="section-heading heading-large">
Your apprenticeship advert
</h2>
<p>You have created a vacancy for your apprenticeship.</p>
<table class="responsive">
<tr>
<th sc... | mit | C# |
27ffa489c8520c9bf590874df65469fb8e71c314 | Bump version to .5 as .4 is branched (#653) | mono/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddi... | build/Packaging.cake | build/Packaging.cake | #!mono .cake/Cake/Cake.exe
var version = Argument("version", "0.5.0");
Task("Build-ObjC")
.Does(() =>
{
if (!IsRunningOnWindows ()) {
var exitCode = StartProcess("make", new ProcessSettings {
Arguments = new ProcessArgumentBuilder().Append ("-C").Append ("objcgen/").Append ... | #!mono .cake/Cake/Cake.exe
var version = Argument("version", "0.4.0");
Task("Build-ObjC")
.Does(() =>
{
if (!IsRunningOnWindows ()) {
var exitCode = StartProcess("make", new ProcessSettings {
Arguments = new ProcessArgumentBuilder().Append ("-C").Append ("objcgen/").Append ... | mit | C# |
3cf09a97249dbfdd7d49a0bbcbab1230690fe1ce | comment addins for build.cake | Andrew-Brad/AB.Extensions | build.cake | build.cake | //#tool nuget:?package=Codecov
//#addin nuget:?package=Cake.Codecov
///////////////////////////////////////////////////////////////////////////////
// GLOBAL VARIABLES
///////////////////////////////////////////////////////////////////////////////
var isLocalBuild = !AppVeyor.IsRunningOnAppVeyor;
var packPath ... | #tool nuget:?package=Codecov
#addin nuget:?package=Cake.Codecov
///////////////////////////////////////////////////////////////////////////////
// GLOBAL VARIABLES
///////////////////////////////////////////////////////////////////////////////
var isLocalBuild = !AppVeyor.IsRunningOnAppVeyor;
var packPath ... | mit | C# |
6286828866f28e76e2d1af74eb2b189a9c033fc5 | update version | IdentityServer/IdentityServer4.Templates,IdentityServer/IdentityServer4.Templates,IdentityServer/IdentityServer4.Templates | build.cake | build.cake | var target = Argument("target", "Default");
var configuration = Argument<string>("configuration", "Release");
///////////////////////////////////////////////////////////////////////////////
// GLOBAL VARIABLES
///////////////////////////////////////////////////////////////////////////////
var buildArtifacts... | var target = Argument("target", "Default");
var configuration = Argument<string>("configuration", "Release");
///////////////////////////////////////////////////////////////////////////////
// GLOBAL VARIABLES
///////////////////////////////////////////////////////////////////////////////
var buildArtifacts... | apache-2.0 | C# |
cf877f85c74d1655b083556d579141d3d5b3a256 | update build script to skip .net framework tests on non-Windows platforms | IdentityServer/IdentityServer4,chrisowhite/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,chrisowhite/IdentityServer4,chrisowhite/IdentityServer4,IdentityServer/IdentityServer4 | build.cake | build.cake | var target = Argument("target", "Default");
var configuration = Argument<string>("configuration", "Release");
///////////////////////////////////////////////////////////////////////////////
// GLOBAL VARIABLES
///////////////////////////////////////////////////////////////////////////////
var packPath ... | var target = Argument("target", "Default");
var configuration = Argument<string>("configuration", "Release");
///////////////////////////////////////////////////////////////////////////////
// GLOBAL VARIABLES
///////////////////////////////////////////////////////////////////////////////
var packPath ... | apache-2.0 | C# |
e91edab58062567c2d3853390fbfbb730efc0851 | Set request object type for TraktPersonShowCreditsRequest. | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Experimental/Requests/People/TraktPersonShowCreditsRequestTests.cs | Source/Tests/TraktApiSharp.Tests/Experimental/Requests/People/TraktPersonShowCreditsRequestTests.cs | namespace TraktApiSharp.Tests.Experimental.Requests.People
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TraktApiSharp.Experimental.Requests.People;
using TraktApiSharp.Objects.Get.People.Credits;
using TraktApiSharp.Requests;
[TestClass]
public class ... | namespace TraktApiSharp.Tests.Experimental.Requests.People
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TraktApiSharp.Experimental.Requests.People;
using TraktApiSharp.Objects.Get.People.Credits;
using TraktApiSharp.Requests;
[TestClass]
public class ... | mit | C# |
48deed4f230424e8db268f925a43c3bd6f1083d2 | Fix AI Bug | shenchi/traffic_control_game | Assets/Scripts/CarAITestJustGo.cs | Assets/Scripts/CarAITestJustGo.cs | using UnityEngine;
using System.Collections;
/// <summary>
/// AI for debug, DO NOT use
/// </summary>
public class CarAITestJustGo : MonoBehaviour
{
public float speed;
public float gas_acceleration = 10.0f;
public float brake_acceleration = -20.0f;
private WayAgent agent;
//public float iniT... | using UnityEngine;
using System.Collections;
/// <summary>
/// AI for debug, DO NOT use
/// </summary>
public class CarAITestJustGo : MonoBehaviour
{
public float speed;
public float gas_acceleration = 10.0f;
public float brake_acceleration = -20.0f;
private WayAgent agent;
//public float iniT... | mit | C# |
d51bd402f02ecb3f38023090fa09d9dc3e095d54 | fix code for unity 4.x | mr-kelly/slua,mr-kelly/slua,luzexi/slua-3rd-lib,pangweiwei/slua,jiangzhhhh/slua,yaukeywang/slua,haolly/slua_source_note,soulgame/slua,chiuan/slua,Roland0511/slua,Roland0511/slua,thing-nacho/slua,thing-nacho/slua,jiangzhhhh/slua,haolly/slua_source_note,chiuan/slua,yaukeywang/slua,Roland0511/slua,luzexi/slua-3rd,jiangzhh... | Assets/Slua/Editor/SLuaSetting.cs | Assets/Slua/Editor/SLuaSetting.cs | // The MIT License (MIT)
// Copyright 2015 Siney/Pangweiwei siney@yeah.net
//
// 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 right... | using UnityEngine;
using System.Collections;
using UnityEditor;
namespace SLua{
public enum EOL{
Native,
CRLF,
CR,
LF,
}
public class SLuaSetting : ScriptableObject {
public EOL eol = EOL.Native;
public bool exportExtensionMethod = true;
private static SLuaSetting _instance;
public static SLuaSe... | mit | C# |
aae121a2e31777b38dec471fcfc0fa6a22b4d08b | Document FlowDownwardForce API | drewnoakes/boing | Boing/Forces/FlowDownwardForce.cs | Boing/Forces/FlowDownwardForce.cs | #region License
// Copyright 2015-2017 Drew Noakes, Krzysztof Dul
//
// 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 ... | #region License
// Copyright 2015-2017 Drew Noakes, Krzysztof Dul
//
// 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 ... | apache-2.0 | C# |
b472b0afafdb1b2211a5e2c1e07adbc4939caaa9 | Update WeatherForecastController.cs (#11668) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Components/Blazor/Templates/src/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Server/Controllers/WeatherForecastController.cs | src/Components/Blazor/Templates/src/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Server/Controllers/WeatherForecastController.cs | using BlazorHosted_CSharp.Shared;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace BlazorHosted_CSharp.Server.Controllers
{
[ApiController]
[Route("[controller]")]
public class Wea... | using BlazorHosted_CSharp.Shared;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BlazorHosted_CSharp.Server.Controllers
{
[ApiController]
[Route("[controller]")]
public class WeatherForecastController : ControllerB... | apache-2.0 | C# |
800f83f3adbe8783815d2a7cfcc5cfaa9d204acb | Make CSharpMath.Forms buildable again | verybadcat/CSharpMath | CSharpMath.Forms/MathKeyboardExtensions.cs | CSharpMath.Forms/MathKeyboardExtensions.cs | using SkiaSharp;
using SkiaSharp.Views.Forms;
namespace CSharpMath.Forms {
using Rendering.FrontEnd;
using SkiaSharp;
public static class MathKeyboardExtensions {
public static void BindDisplay(this MathKeyboard keyboard,
SKCanvasView view, MathPainter settings, SKColor caretColor,
CaretShape care... | using SkiaSharp;
using SkiaSharp.Views.Forms;
namespace CSharpMath.Forms {
using Rendering.FrontEnd;
using SkiaSharp;
public static class MathKeyboardExtensions {
public static void BindDisplay(this MathKeyboard keyboard,
SKCanvasView view, MathPainter settings, SKColor caretColor,
CaretShape care... | mit | C# |
aecfd529fb5e98969574c19d839688c9f5c3d16e | change the title of the main application | GiveCampUK/GiveCRM,GiveCampUK/GiveCRM | src/GiveCRM.Web/Views/Shared/_Layout.cshtml | src/GiveCRM.Web/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<title>@ViewBag.Title</title>
<link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
<script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
</head>
<body>
<div class="page">
<div id="header">
... | <!DOCTYPE html>
<html>
<head>
<title>@ViewBag.Title</title>
<link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
<script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
</head>
<body>
<div class="page">
<div id="header">
... | mit | C# |
f99907100bb119307ebd7f8fb009fbe99af7453e | Change tab bar selection color | xamarin/app-crm,qipengwu/app-crm,qipengwu/app-crm,jsauvexamarin/app-crm,xamarin/app-crm,xamarin-automation-service/app-crm,xamarin/app-crm,xamarin-automation-service/app-crm,jsauvexamarin/app-crm,qipengwu/app-crm,xamarin/app-crm,xamarin-automation-service/app-crm,jsauvexamarin/app-crm,qipengwu/app-crm,xamarin-automatio... | src/MobileApp/XamarinCRM.iOS/AppDelegate.cs | src/MobileApp/XamarinCRM.iOS/AppDelegate.cs |
//
// Copyright 2015 Xamarin Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicab... |
//
// Copyright 2015 Xamarin Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicab... | mit | C# |
682b5fb056ae9ecc50dd863b6490f851d1508a70 | Adjust health increase for drum roll tick to match new max result | peppy/osu-new,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,ppy/osu,peppy/osu,UselessToucan/osu | osu.Game.Rulesets.Taiko/Judgements/TaikoDrumRollTickJudgement.cs | osu.Game.Rulesets.Taiko/Judgements/TaikoDrumRollTickJudgement.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Taiko.Judgements
{
public class TaikoDrumRollTickJudgement : TaikoJudgement
{
public overri... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Taiko.Judgements
{
public class TaikoDrumRollTickJudgement : TaikoJudgement
{
public overri... | mit | C# |
c0d64bf409b1e7afb9868a8040459d7e1e30fa21 | Use Gray instead of FromHex for grays | johnneijzen/osu,peppy/osu,naoey/osu,DrabWeb/osu,Drezi126/osu,ppy/osu,smoogipoo/osu,DrabWeb/osu,Nabile-Rahmani/osu,2yangk23/osu,johnneijzen/osu,naoey/osu,DrabWeb/osu,ZLima12/osu,smoogipooo/osu,2yangk23/osu,Frontear/osuKyzer,peppy/osu-new,smoogipoo/osu,naoey/osu,peppy/osu,ppy/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,Neo... | osu.Game/Screens/Edit/Screens/Compose/Timeline/TimelineButton.cs | osu.Game/Screens/Edit/Screens/Compose/Timeline/TimelineButton.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using OpenTK;
using OpenTK.Graphics;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
us... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using OpenTK;
using OpenTK.Graphics;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
us... | mit | C# |
780217820f75999964e3acff0aa014aa2be0f3f6 | Remove unused import. | sshnet/SSH.NET,miniter/SSH.NET,Bloomcredit/SSH.NET | src/Renci.SshNet/Common/HostKeyEventArgs.cs | src/Renci.SshNet/Common/HostKeyEventArgs.cs | using System;
using Renci.SshNet.Security.Cryptography;
using Renci.SshNet.Security;
namespace Renci.SshNet.Common
{
/// <summary>
/// Provides data for the HostKeyReceived event.
/// </summary>
public class HostKeyEventArgs : EventArgs
{
/// <summary>
/// Gets or sets ... | using System;
using System.Security.Cryptography;
using Renci.SshNet.Security.Cryptography;
using Renci.SshNet.Security;
namespace Renci.SshNet.Common
{
/// <summary>
/// Provides data for the HostKeyReceived event.
/// </summary>
public class HostKeyEventArgs : EventArgs
{
///... | mit | C# |
23180e031550557eb412f4c2f1a43a2a2e2c2bda | increment version to 0.6.0 | colored-console/colored-console,colored-console/colored-console | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.cs | // <copyright file="CommonAssemblyInfo.cs" company="ColoredConsole contributors">
// Copyright (c) ColoredConsole contributors. (coloredconsole@gmail.com)
// </copyright>
using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCo... | // <copyright file="CommonAssemblyInfo.cs" company="ColoredConsole contributors">
// Copyright (c) ColoredConsole contributors. (coloredconsole@gmail.com)
// </copyright>
using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCo... | mit | C# |
feb3265ea52e28e193822c585be5c9322c38c09b | Update font-awesome | martincostello/website,martincostello/website,martincostello/website,martincostello/website | src/Website/Pages/Shared/_StylesBody.cshtml | src/Website/Pages/Shared/_StylesBody.cshtml | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/5.2.0/flatly/bootstrap.min.css" integrity="sha512-SAOc0O+NBGM2HuPF20h4nse270bwZJi8X90t5k/ApuB9oasBYEyLJ7WtYcWZARWiSlKJpZch1+ip2mmhvlIvzQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://cdnjs.cl... | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/5.2.0/flatly/bootstrap.min.css" integrity="sha512-SAOc0O+NBGM2HuPF20h4nse270bwZJi8X90t5k/ApuB9oasBYEyLJ7WtYcWZARWiSlKJpZch1+ip2mmhvlIvzQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://cdnjs.cl... | apache-2.0 | C# |
3cdfa5955eeb8d1a06c48392976230c869d0e64e | undo changes | mmanela/diffplex,mmanela/diffplex,mmanela/diffplex,mmanela/diffplex | DiffPlex.ConsoleRunner/Program.cs | DiffPlex.ConsoleRunner/Program.cs | using System;
using DiffPlex.DiffBuilder;
using DiffPlex.DiffBuilder.Model;
namespace DiffPlex.ConsoleRunner
{
internal static class Program
{
private static void Main()
{
var diffBuilder = new InlineDiffBuilder(new Differ());
var diff = diffBuilder.BuildDiffModel(OldTe... | using System;
using DiffPlex.DiffBuilder;
using DiffPlex.DiffBuilder.Model;
namespace DiffPlex.ConsoleRunner
{
internal static class Program
{
private static void Main()
{
var diffBuilder = new InlineDiffBuilder(new Differ());
var diff = diffBuilder.BuildDiffModel(OldTe... | apache-2.0 | C# |
5e5343b7d6b8da315849c8871e1a7987bd1254c9 | Add RichTextLabel.Wrap for default RTF text formatting | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck | Core/RichTextLabel.cs | Core/RichTextLabel.cs | using System;
using System.Windows.Forms;
namespace TweetDick.Core{
public partial class RichTextLabel : RichTextBox{
/// <summary>
/// Wraps the body of a RTF formatted string with default tags and formatting.
/// </summary>
public static string Wrap(string str){
strin... | using System;
using System.Windows.Forms;
namespace TweetDick.Core{
public partial class RichTextLabel : RichTextBox{
public RichTextLabel(){
InitializeComponent();
SetStyle(ControlStyles.Selectable,false);
SetStyle(ControlStyles.UserMouse,true);
SetStyle(C... | mit | C# |
e4ae82939f7a2b6a35a0fc717051065cbae45b02 | Add missing [Table] attribute | DevExpress/DevExtreme.AspNet.Data,DevExpress/DevExtreme.AspNet.Data,AlekseyMartynov/DevExtreme.AspNet.Data,AlekseyMartynov/DevExtreme.AspNet.Data,DevExpress/DevExtreme.AspNet.Data,AlekseyMartynov/DevExtreme.AspNet.Data,DevExpress/DevExtreme.AspNet.Data,AlekseyMartynov/DevExtreme.AspNet.Data | net/DevExtreme.AspNet.Data.Tests.EFCore/Async.cs | net/DevExtreme.AspNet.Data.Tests.EFCore/Async.cs | using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Threading.Tasks;
using Xunit;
namespace DevExtreme.AspNet.Data.Tests.EFCore {
public class Async {
[Table(nameof(Async) + "_" + nameof(DataItem))]
public class DataItem : AsyncTestHelper.IDataItem {
public ... | using System;
using System.Threading.Tasks;
using Xunit;
namespace DevExtreme.AspNet.Data.Tests.EFCore {
public class Async {
public class DataItem : AsyncTestHelper.IDataItem {
public int ID { get; set; }
public int Value { get; set; }
}
[Fact]
public as... | mit | C# |
af15eaac394d604401e8a97410b7b9f6dd424521 | tweak test app | emertechie/SyslogNet,nE0sIghT/SyslogNet,YallaDotNet/syslog | TesterApp/Program.cs | TesterApp/Program.cs | using System;
using System.IO;
using System.Net.Sockets;
using CommandLine;
using SyslogNet;
namespace TesterApp
{
public static class Program
{
public static void Main(string[] args)
{
var options = new Options();
if (new CommandLineParser().ParseArguments(args, options))
{
var syslo... | using System;
using System.IO;
using System.Net.Sockets;
using CommandLine;
using SyslogNet;
namespace TesterApp
{
public static class Program
{
public static void Main(string[] args)
{
var options = new Options();
if (new CommandLineParser().ParseArguments(args, options))
{
var syslo... | mit | C# |
0916f09284a74eb594219b118ee630238d9525cc | make users lowercase to avoid duplication | Codestellation/Galaxy,Codestellation/Galaxy,Codestellation/Galaxy | src/Galaxy/Domain/User.cs | src/Galaxy/Domain/User.cs | using Nejdb.Bson;
namespace Codestellation.Galaxy.Domain
{
public class User
{
private string _login;
public ObjectId Id { get; internal set; }
public string Login
{
get { return _login; }
set { _login = string.IsNullOrWhiteSpace(value) ? value : value.... | using Nejdb.Bson;
namespace Codestellation.Galaxy.Domain
{
public class User
{
public ObjectId Id { get; internal set; }
public string Login { get; set; }
public bool IsAdmin { get; set; }
public bool IsDomain { get; set; }
}
} | apache-2.0 | C# |
fe1db71bae7603dac653a0857356ba0e1ec90270 | Add start log to commands | GAnatoliy/geochallenger,GAnatoliy/geochallenger | GeoChallenger.Commands/Program.cs | GeoChallenger.Commands/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Autofac;
using GeoChallenger.Commands.Commands;
using GeoChallenger.Commands.Config;
using NLog;
using NLog.Fluent;
namespace GeoChallenger.Commands
{
class Program
{
private stat... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Autofac;
using GeoChallenger.Commands.Commands;
using GeoChallenger.Commands.Config;
using NLog;
namespace GeoChallenger.Commands
{
class Program
{
private static readonly Logger ... | mit | C# |
7c640f05a017c5836614993a3ec517eefd97b65b | Update ForeignExchangeRepository.cs | tiksn/TIKSN-Framework | TIKSN.Core/Finance/ForeignExchange/Data/LiteDB/ForeignExchangeRepository.cs | TIKSN.Core/Finance/ForeignExchange/Data/LiteDB/ForeignExchangeRepository.cs | using LiteDB;
using TIKSN.Data.LiteDB;
namespace TIKSN.Finance.ForeignExchange.Data.LiteDB
{
public class ForeignExchangeRepository : LiteDbRepository<ForeignExchangeEntity, int>, IForeignExchangeRepository
{
public ForeignExchangeRepository(ILiteDbDatabaseProvider databaseProvider) : base(databasePro... | using LiteDB;
using TIKSN.Data.LiteDB;
namespace TIKSN.Finance.ForeignExchange.Data.LiteDB
{
public class ForeignExchangeRepository : LiteDbRepository<ForeignExchangeEntity, int>, IForeignExchangeRepository
{
public ForeignExchangeRepository(ILiteDbDatabaseProvider databaseProvider) : base(databasePro... | mit | C# |
83739240ba5ca1ff68d14208cea783a93922b21c | Fix some error cases in SubRatingsConverter | InfiniteSoul/Azuria | Azuria/Api/v1/Converters/SubRatingsConverter.cs | Azuria/Api/v1/Converters/SubRatingsConverter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Azuria.UserInfo.Comment;
using Newtonsoft.Json;
namespace Azuria.Api.v1.Converters
{
internal class SubRatingsConverter : JsonConverter
{
#region Methods
/// <summary>
/// Determines whether this instance can... | using System;
using System.Collections.Generic;
using System.Linq;
using Azuria.UserInfo.Comment;
using Newtonsoft.Json;
namespace Azuria.Api.v1.Converters
{
internal class SubRatingsConverter : JsonConverter
{
#region Methods
/// <summary>
/// Determines whether this instance can... | mit | C# |
3f7eb970e31c67a23e9939973eb4eecbcf9db5ca | set multiline rule | WTobor/BoardGamesNook,WTobor/BoardGamesNook,WTobor/BoardGamesNook,WTobor/BoardGamesNook | BoardGamesNook/Validators/GameTableValidator.cs | BoardGamesNook/Validators/GameTableValidator.cs | using BoardGamesNook.ViewModels.GameTable;
using FluentValidation;
namespace BoardGamesNook.Validators
{
public class GameTableValidator : AbstractValidator<GameTableViewModel>
{
public GameTableValidator()
{
RuleFor(gameTable => gameTable.City)
.MinimumLength(3).Wi... | using BoardGamesNook.ViewModels.GameTable;
using FluentValidation;
namespace BoardGamesNook.Validators
{
public class GameTableValidator : AbstractValidator<GameTableViewModel>
{
public GameTableValidator()
{
RuleFor(gameTable => gameTable.City).MinimumLength(3).WithMessage("Miasto... | mit | C# |
1f692ec7dba0fb6eb5ff552ee0fb117e0a0087e3 | fix - sort need a array of element with the same type. | jdevillard/JmesPath.Net | src/jmespath.net/Functions/SortFunction.cs | src/jmespath.net/Functions/SortFunction.cs | using System;
using System.Linq;
using System.Linq.Expressions;
using DevLab.JmesPath.Expressions;
using DevLab.JmesPath.Tokens;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using JmesPathFunction = DevLab.JmesPath.Interop.JmesPathFunction;
namespace DevLab.JmesPath.Functions
{
public class SortFu... | using System;
using System.Linq;
using System.Linq.Expressions;
using DevLab.JmesPath.Expressions;
using DevLab.JmesPath.Tokens;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using JmesPathFunction = DevLab.JmesPath.Interop.JmesPathFunction;
namespace DevLab.JmesPath.Functions
{
public class SortFu... | apache-2.0 | C# |
d8e94e2496e515aed847f2703dc362bde4ac9130 | Rename test | kei10in/KipSharp | KipTest/PrintSchemaReaderTests.cs | KipTest/PrintSchemaReaderTests.cs | using Kip;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using Xunit;
using psk = Kip.PrintSchemaKeywords;
using xsd = Kip.XmlSchema;
namespace KipTest
{
public class PrintSchemaReader... | using Kip;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using Xunit;
using psk = Kip.PrintSchemaKeywords;
using xsd = Kip.XmlSchema;
namespace KipTest
{
public class PrintSchemaReader... | mit | C# |
45c761578ebf6a7d1ed0a32c50cb8d98b30a2bdb | Make it possible to specify schedulign queue name | jacobpovar/MassTransit,phatboyg/MassTransit,MassTransit/MassTransit,SanSYS/MassTransit,jacobpovar/MassTransit,SanSYS/MassTransit,phatboyg/MassTransit,MassTransit/MassTransit | src/MassTransit.QuartzIntegration/QuartzIntegrationExtensions.cs | src/MassTransit.QuartzIntegration/QuartzIntegrationExtensions.cs | // Copyright 2007-2016 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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... | // Copyright 2007-2016 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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... | apache-2.0 | C# |
123441ce7df65090e3051f51865e6d8557ce2e46 | use native name of languages | stakira/OpenUtau,stakira/OpenUtau | OpenUtau/ViewModels/Converters.cs | OpenUtau/ViewModels/Converters.cs | using System;
using System.Globalization;
using System.Text;
using Avalonia.Data.Converters;
namespace OpenUtau.App.ViewModels {
public class CultureNameConverter : IValueConverter {
public object Convert(object value, Type targetType, object parameter, CultureInfo culture) {
if (value is Cult... | using System;
using System.Globalization;
using System.Text;
using Avalonia.Data.Converters;
namespace OpenUtau.App.ViewModels {
public class CultureNameConverter : IValueConverter {
public object Convert(object value, Type targetType, object parameter, CultureInfo culture) {
if (value is Cult... | mit | C# |
6a824f5f7a8064076e8c2ea06d4f50449f75bc54 | Add `current_period_*` filters when listing Invoices | richardlawley/stripe.net,stripe/stripe-dotnet | src/Stripe.net/Services/Subscriptions/SubscriptionListOptions.cs | src/Stripe.net/Services/Subscriptions/SubscriptionListOptions.cs | namespace Stripe
{
using System;
using Newtonsoft.Json;
public class SubscriptionListOptions : ListOptionsWithCreated
{
/// <summary>
/// The billing mode of the subscriptions to retrieve. One of <see cref="Billing" />.
/// </summary>
[JsonProperty("billing")]
pu... | namespace Stripe
{
using Newtonsoft.Json;
public class SubscriptionListOptions : ListOptionsWithCreated
{
/// <summary>
/// The billing mode of the subscriptions to retrieve. One of <see cref="Billing" />.
/// </summary>
[JsonProperty("billing")]
public Billing? Bill... | apache-2.0 | C# |
4555ae03c6b9948f69efa7d7b0708e42549460d4 | Reformat and simplify PerformanceLogAttribute | jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,googleapis/google-cloud-dotnet,evildour/google-cloud-dotnet,iantalarico/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,evildour/google-cloud-dotnet,jskeet/google-cloud-dotnet,iantalarico/google-cloud-dotnet,j... | apis/Google.Cloud.Spanner.Data/Google.Cloud.Spanner.Data.IntegrationTests/PerformanceLogAttribute.cs | apis/Google.Cloud.Spanner.Data/Google.Cloud.Spanner.Data.IntegrationTests/PerformanceLogAttribute.cs | // Copyright 2017 Google 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
//
// Unless required by applica... | // Copyright 2017 Google 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
//
// Unless required by applica... | apache-2.0 | C# |
72c846db25d22ddf0de6a21fa5608c31c8a32715 | fix test by removing BOM from read string | icarus-consulting/Yaapii.Atoms | tests/Yaapii.Atoms.Tests/IO/WriterToTest.cs | tests/Yaapii.Atoms.Tests/IO/WriterToTest.cs | // MIT License
//
// Copyright(c) 2017 ICARUS Consulting GmbH
//
// 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, co... | // MIT License
//
// Copyright(c) 2017 ICARUS Consulting GmbH
//
// 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, co... | mit | C# |
0e02ef653e9472e53c319eecba2add0a697e611e | Update AssemblyVersion to 1.4.1 | alexguirre/RAGENativeUI,alexguirre/RAGENativeUI | Source/Properties/AssemblyInfo.cs | Source/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("RAGENativeUI")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("RAGENativeUI")]
[assembly: AssemblyCopyright("Copyright 2015")]
[assembly: As... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("RAGENativeUI")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("RAGENativeUI")]
[assembly: AssemblyCopyright("Copyright 2015")]
[assembly: As... | mit | C# |
220fea0d59ad8a528395c38f49b9609c37263f8e | Fix ES tests #horror | InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform | InfinniPlatform.Core/Factories/GlobalContext.cs | InfinniPlatform.Core/Factories/GlobalContext.cs | using System;
using InfinniPlatform.Api.RestApi.Auth;
using InfinniPlatform.Sdk.ContextComponents;
using InfinniPlatform.Sdk.Contracts;
using InfinniPlatform.Sdk.IoC;
using InfinniPlatform.Transactions;
namespace InfinniPlatform.Factories
{
/// <summary>
/// Реализация контекста компонентов платформы
///... | using System;
using InfinniPlatform.Sdk.ContextComponents;
using InfinniPlatform.Sdk.Contracts;
using InfinniPlatform.Sdk.IoC;
using InfinniPlatform.Transactions;
namespace InfinniPlatform.Factories
{
/// <summary>
/// Реализация контекста компонентов платформы
/// </summary>
public class GlobalConte... | agpl-3.0 | C# |
7e6176586db55b06d96f9f5c02976affd9ee8fcc | Rename Method | ishu3101/Wox.Plugin.IPAddress,zlphoenix/Wox.Plugin.IPAddress | Wox.Plugin.IPAddress/IPAddress.cs | Wox.Plugin.IPAddress/IPAddress.cs | using System;
using System.Windows.Forms;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Net.NetworkInformation;
namespace Wox.Plugin.IPAddress
{
public class Program : IPlugin
{
public void Init(PluginInitContext context) { }
public List... | using System;
using System.Windows.Forms;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Net.NetworkInformation;
namespace Wox.Plugin.IPAddress
{
public class Program : IPlugin
{
public void Init(PluginInitContext context) { }
public List... | mit | C# |
8a8f01f8daed6777f43fa53974a60daf95f713db | Remove whitespace (leave the newline). | aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template | aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Host/Startup/SecurityRequirementsOperationFilter.cs | aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Host/Startup/SecurityRequirementsOperationFilter.cs | using System.Collections.Generic;
using System.Linq;
using Swashbuckle.AspNetCore.Swagger;
using Swashbuckle.AspNetCore.SwaggerGen;
using Abp.Authorization;
namespace AbpCompanyName.AbpProjectName.Web.Host.Startup
{
public class SecurityRequirementsOperationFilter : IOperationFilter
{
public void Apply... | using System.Collections.Generic;
using System.Linq;
using Swashbuckle.AspNetCore.Swagger;
using Swashbuckle.AspNetCore.SwaggerGen;
using Abp.Authorization;
namespace AbpCompanyName.AbpProjectName.Web.Host.Startup
{
public class SecurityRequirementsOperationFilter : IOperationFilter
{
public void Apply... | mit | C# |
2ed3df450993a94ff9ef582b649e763157aa007d | Set EnableDetailedErrors flag to true so that useful error messages can be obtained when the data hub functions fail. | GridProtectionAlliance/PQDashboard,GridProtectionAlliance/PQDashboard,GridProtectionAlliance/PQDashboard,GridProtectionAlliance/PQDashboard | src/PQDashboard/Startup.cs | src/PQDashboard/Startup.cs | //******************************************************************************************************
// Startup.cs - Gbtc
//
// Copyright © 2016, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See
// the NOT... | //******************************************************************************************************
// Startup.cs - Gbtc
//
// Copyright © 2016, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See
// the NOT... | bsd-3-clause | C# |
487b8912c5354754812b65e69af0bb8be3fd5ae2 | fix binary reader | justcoding121/Titanium-Web-Proxy,titanium007/Titanium-Web-Proxy,titanium007/Titanium | Titanium.HTTPProxyServer/Utility/CustomBinaryReader.cs | Titanium.HTTPProxyServer/Utility/CustomBinaryReader.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Diagnostics;
namespace Titanium.HTTPProxyServer
{
public class CustomBinaryReader : BinaryReader
{
public CustomBinaryReader(Stream stream, Encoding encoding)
: base(strea... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Diagnostics;
namespace Titanium.HTTPProxyServer
{
public class CustomBinaryReader : BinaryReader
{
public CustomBinaryReader(Stream stream, Encoding encoding)
: bas... | mit | C# |
9708b08439d2bf58482edefc3b0ef3dc82df70ec | Fix FundTransaction in case of insufficient funds | NTumbleBit/NTumbleBit,DanGould/NTumbleBit | NTumbleBit.TumblerServer/Services/RPCServices/RPCWalletService.cs | NTumbleBit.TumblerServer/Services/RPCServices/RPCWalletService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NBitcoin;
using NBitcoin.RPC;
using Newtonsoft.Json.Linq;
using NTumbleBit.PuzzlePromise;
using NBitcoin.DataEncoders;
#if !CLIENT
namespace NTumbleBit.TumblerServer.Services.RPCServices
#else
namespace NTumbleBit.C... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NBitcoin;
using NBitcoin.RPC;
using Newtonsoft.Json.Linq;
using NTumbleBit.PuzzlePromise;
using NBitcoin.DataEncoders;
#if !CLIENT
namespace NTumbleBit.TumblerServer.Services.RPCServices
#else
namespace NTumbleBit.C... | mit | C# |
4e571027602146c5fb94047a09e2072aec023488 | reset const | MasayukiNagase/samples,sewong/samples,derekameer/samples,neilshipp/samples,jessekaplan/samples,jayhopeter/samples,parameshbabu/samples,jordanrh1/samples,Sumahitha/samples,jessekaplan/samples,jayhopeter/samples,HerrickSpencer/samples,zhuridartem/samples,ms-iot/samples,dotMorten/samples,tjaffri/msiot-samples,parameshbabu... | SpeechTranslator/ConstantParam.cs | SpeechTranslator/ConstantParam.cs | // Copyright (c) Microsoft. All rights reserved.
#define RPI1
namespace SpeechTranslator
{
class ConstantParam
{
public static readonly string DatamarketAccessUri = "https://datamarket.accesscontrol.windows.net/v2/OAuth2-13";
//Access token expires every 10 minutes. Renew it every 9 minutes... | // Copyright (c) Microsoft. All rights reserved.
#define RPI1
namespace SpeechTranslator
{
class ConstantParam
{
public static readonly string DatamarketAccessUri = "https://datamarket.accesscontrol.windows.net/v2/OAuth2-13";
//Access token expires every 10 minutes. Renew it every 9 minutes... | mit | C# |
97b3b4556c051905dbcebba417c996262e9692fe | Fix merge. | harrison314/MassiveDynamicProxyGenerator,harrison314/MassiveDynamicProxyGenerator,harrison314/MassiveDynamicProxyGenerator | src/Test/MassiveDynamicProxyGenerator.Tests/TestInterfaces/IInterfaceWithDefaultMethod.cs | src/Test/MassiveDynamicProxyGenerator.Tests/TestInterfaces/IInterfaceWithDefaultMethod.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MassiveDynamicProxyGenerator.Tests.TestInterfaces
{
public interface IInterfaceWithDefaultMethod
{
int GetAize();
#if NETSTANDARD || NETCOREAPP
int GetSquare()
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MassiveDynamicProxyGenerator.Tests.TestInterfaces
{
public interface IInterfaceWithDefaultMethod
{
int GetAize();
#if NETSTANDARD || NETCOREAPP
int GetSquare()
... | mit | C# |
1234cc372884b5932455d0ef13850d0151cac453 | Use CORS for API. | marcuson/A2BBServer,marcuson/A2BBServer,marcuson/A2BBServer | A2BBAPI/Startup.cs | A2BBAPI/Startup.cs | using A2BBAPI.Data;
using A2BBCommon;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc.Authorization;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjec... | using A2BBAPI.Data;
using A2BBCommon;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc.Authorization;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjec... | apache-2.0 | C# |
866ea4366bae2b9f19a50466e8166ed050d6d7f2 | Fix manual KMS snippet (LocationName breaking change is expected) | googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/gcloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet | apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1.Snippets/KeyManagementServiceClientSnippets.cs | apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1.Snippets/KeyManagementServiceClientSnippets.cs | // Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | // Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | apache-2.0 | C# |
630d21cc15e35e3e94aec0f099d8dadf0fd58a2f | Edit it | sta/websocket-sharp,sta/websocket-sharp,jogibear9988/websocket-sharp,sta/websocket-sharp,sta/websocket-sharp,jogibear9988/websocket-sharp,jogibear9988/websocket-sharp,jogibear9988/websocket-sharp | websocket-sharp/Server/IWebSocketSession.cs | websocket-sharp/Server/IWebSocketSession.cs | #region License
/*
* IWebSocketSession.cs
*
* The MIT License
*
* Copyright (c) 2013-2014 sta.blockhead
*
* 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, includi... | #region License
/*
* IWebSocketSession.cs
*
* The MIT License
*
* Copyright (c) 2013-2014 sta.blockhead
*
* 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, includi... | mit | C# |
56af9be4d29a3cb3b5199e657dbefb8726d5d915 | Package updates is now fully implemented | rho24/Glimpse,codevlabs/Glimpse,sorenhl/Glimpse,elkingtonmcb/Glimpse,paynecrl97/Glimpse,sorenhl/Glimpse,dudzon/Glimpse,SusanaL/Glimpse,SusanaL/Glimpse,Glimpse/Glimpse,SusanaL/Glimpse,flcdrg/Glimpse,flcdrg/Glimpse,paynecrl97/Glimpse,rho24/Glimpse,rho24/Glimpse,elkingtonmcb/Glimpse,paynecrl97/Glimpse,rho24/Glimpse,gabrie... | source/Glimpse.Core/Framework/GlimpseMetadata.cs | source/Glimpse.Core/Framework/GlimpseMetadata.cs | using System.Collections.Generic;
namespace Glimpse.Core.Framework
{
public class GlimpseMetadata
{
public GlimpseMetadata()
{
Plugins = new Dictionary<string, PluginMetadata>();
Resources = new Dictionary<string, string>//TODO: once the resources below are implemented,... | using System.Collections.Generic;
namespace Glimpse.Core.Framework
{
public class GlimpseMetadata
{
public GlimpseMetadata()
{
Plugins = new Dictionary<string, PluginMetadata>();
Resources = new Dictionary<string, string>//TODO: once the resources below are implemented,... | apache-2.0 | C# |
239e50bb9e225b2921959d940199083631bfe77d | Fix test name. | damianh/LimitsMiddleware,damianh/LimitsMiddleware | src/LimitsMiddleware.Tests/MovingAverageTests.cs | src/LimitsMiddleware.Tests/MovingAverageTests.cs | namespace LimitsMiddleware
{
using System;
using FluentAssertions;
using Xunit;
public class MovingAverageTests
{
[Fact]
public void Should_calculate_average()
{
var movingAverage = new GlobalRateLimiter.MovingAverage(TimeSpan.FromSeconds(5));
moving... | namespace LimitsMiddleware
{
using System;
using FluentAssertions;
using Xunit;
public class MovingAverageTests
{
[Fact]
public void Should_calculate_average()
{
var movingAverage = new GlobalRateLimiter.MovingAverage(TimeSpan.FromSeconds(5));
moving... | mit | C# |
131da05a6bef9923c81b0913e0b64fce73f57686 | order updated date | agileharbor/openCartAccess | src/OpenCartAccess/Models/Order/OpenCartOrder.cs | src/OpenCartAccess/Models/Order/OpenCartOrder.cs | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace OpenCartAccess.Models.Order
{
[ DataContract ]
public sealed class OpenCartOrder
{
[ DataMember( Name = "order_id" ) ]
public int OrderId { get; set; }
[ DataMember( Name = "date_added" ) ]
public DateTime Create... | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace OpenCartAccess.Models.Order
{
[ DataContract ]
public class OpenCartOrder
{
[ DataMember( Name = "order_id" ) ]
public int OrderId { get; set; }
[ DataMember( Name = "date_added" ) ]
public DateTime CreatedDate {... | bsd-3-clause | C# |
41ce14906dfc38e9d9b4043bb254dcc4c80c296f | Undo change of this file. | tannergooding/roslyn,orthoxerox/roslyn,tvand7093/roslyn,dpoeschl/roslyn,mattscheffer/roslyn,orthoxerox/roslyn,wvdd007/roslyn,diryboy/roslyn,jasonmalinowski/roslyn,jmarolf/roslyn,VSadov/roslyn,kelltrick/roslyn,tmat/roslyn,dotnet/roslyn,AnthonyDGreen/roslyn,genlu/roslyn,bkoelman/roslyn,drognanar/roslyn,pdelvo/roslyn,mgoe... | src/EditorFeatures/Core/ContentTypeNames.cs | src/EditorFeatures/Core/ContentTypeNames.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.CodeAnalysis.Editor
{
internal static class ContentTypeNames
{
public const string CSharpContentType = "CSharp";
... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.CodeAnalysis.Editor
{
internal static class ContentTypeNames
{
public const string CSharpContentType = "CSharp";
... | mit | C# |
82b232ff4e1cf6bfc497f892874f01079f98aa9e | Add string store to Field. | beta-tank/TicTacToe,beta-tank/TicTacToe,beta-tank/TicTacToe | TicTacToe.Core/Field.cs | TicTacToe.Core/Field.cs | using System;
using System.Linq;
using TicTacToe.Core.Enums;
using static System.String;
namespace TicTacToe.Core
{
public class Field : IEntity
{
public int Id { get; set; }
public virtual Game Game { get; set; }
public string CellsString {
get { return Join(";", Cells.Sel... | using TicTacToe.Core.Enums;
namespace TicTacToe.Core
{
public class Field : IEntity
{
public int Id { get; set; }
public virtual Game Game { get; set; }
public PlayerCode[] Cells { get; set; }
public PlayerCode this[int index] {
get { return Cells[index]; }
... | mit | C# |
2e3d0c9ba24c62e66292b8293cf3c9e58ae78d8a | add utility to query access scope | 0xFireball/KQAnalytics3,0xFireball/KQAnalytics3,0xFireball/KQAnalytics3 | KQAnalytics3/src/KQAnalytics3/Services/Authentication/ClientApiAccessValidator.cs | KQAnalytics3/src/KQAnalytics3/Services/Authentication/ClientApiAccessValidator.cs | using KQAnalytics3.Configuration.Access;
using System;
using System.Collections.Generic;
using System.Security.Claims;
namespace KQAnalytics3.Services.Authentication
{
public static class ClientApiAccessValidator
{
public static string AuthTypeKey => "authType";
public static string AccessScop... | using KQAnalytics3.Configuration.Access;
using System;
using System.Collections.Generic;
using System.Security.Claims;
namespace KQAnalytics3.Services.Authentication
{
public static class ClientApiAccessValidator
{
public static IEnumerable<Claim> GetAuthClaims(ApiAccessKey accessKey)
{
... | agpl-3.0 | C# |
bc4dfb79ed9325a3fd2757c465f00a3627ac5945 | Set SupportedApiVersion = "2015-09-08" | matthewcorven/stripe.net,matthewcorven/stripe.net | src/Stripe/Infrastructure/StripeConfiguration.cs | src/Stripe/Infrastructure/StripeConfiguration.cs | using System;
using System.Configuration;
namespace Stripe
{
public static class StripeConfiguration
{
private static string _apiKey;
internal const string SupportedApiVersion = "2015-09-08";
static StripeConfiguration()
{
ApiVersion = SupportedApiVersion;
... | using System;
using System.Configuration;
namespace Stripe
{
public static class StripeConfiguration
{
private static string _apiKey;
internal const string SupportedApiVersion = "2015-03-24";
static StripeConfiguration()
{
ApiVersion = SupportedApiVersion;
... | apache-2.0 | C# |
3578bd1358e82e568fc2d448bcf8754f594e078a | Remove unused usings | gpduck/WDSiPXE,gpduck/WDSiPXE | WDSiPXE/Bootstrapper.cs | WDSiPXE/Bootstrapper.cs | using System;
using Nancy;
namespace WDSiPXE
{
public class Bootstrapper : DefaultNancyBootstrapper
{
private String _remoteInstallPath;
public Bootstrapper() : this("c:\\temp30\\wds")
{
}
public Bootstrapper(String remoteInstallPath)
{
_remoteIns... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Nancy;
namespace WDSiPXE
{
public class Bootstrapper : DefaultNancyBootstrapper
{
private String _remoteInstallPath;
public Bootstrapper() : this("c:\\temp30\\wds")
{
}
public ... | apache-2.0 | C# |
c7033dd178d34a75446f19fe0cc85b0f697e67c0 | Add XML comments to UrlAttribute | YevgeniyShunevych/Atata,YevgeniyShunevych/Atata,atata-framework/atata,atata-framework/atata | src/Atata/Attributes/UrlAttribute.cs | src/Atata/Attributes/UrlAttribute.cs | using System;
namespace Atata
{
/// <summary>
/// Specifies the URL to navigate to during initialization of page object.
/// Applies to page object types.
/// </summary>
[AttributeUsage(AttributeTargets.Class)]
public class UrlAttribute : Attribute
{
public UrlAttribute(string url)... | using System;
namespace Atata
{
[AttributeUsage(AttributeTargets.Class)]
public class UrlAttribute : Attribute
{
public UrlAttribute(string url)
{
Url = url;
}
public string Url { get; private set; }
}
}
| apache-2.0 | C# |
22f4e4e968b3ab77007b1de7ad3fd1204d7a527e | Revert "Adding oncompletionasync to sandwich bot" | digibaraka/BotBuilder,xiangyan99/BotBuilder,xiangyan99/BotBuilder,msft-shahins/BotBuilder,digibaraka/BotBuilder,xiangyan99/BotBuilder,msft-shahins/BotBuilder,mmatkow/BotBuilder,xiangyan99/BotBuilder,dr-em/BotBuilder,jockorob/BotBuilder,jockorob/BotBuilder,yakumo/BotBuilder,stevengum97/BotBuilder,mmatkow/BotBuilder,mmat... | CSharp/Samples/SimpleSandwichBot/Sandwich.cs | CSharp/Samples/SimpleSandwichBot/Sandwich.cs | using Microsoft.Bot.Builder.FormFlow;
using System;
using System.Collections.Generic;
#pragma warning disable 649
// The SandwichOrder is the simple form you want to fill out. It must be serializable so the bot can be stateless.
// The order of fields defines the default order in which questions will be asked.... | using Microsoft.Bot.Builder.FormFlow;
using System;
using System.Collections.Generic;
#pragma warning disable 649
// The SandwichOrder is the simple form you want to fill out. It must be serializable so the bot can be stateless.
// The order of fields defines the default order in which questions will be asked.... | mit | C# |
54fbe634704d8c1c3177f1fea926fb8c1678a009 | Clean up usings. | justinjstark/Delivered,justinjstark/Verdeler | Distributor/Distributor.cs | Distributor/Distributor.cs | namespace Distributor
{
public class Distributor
{
public void Run()
{
var file = new DistributionFile { FileName = "File.txt" };
foreach (var deliveryService in DeliveryServices.Distributions)
{
deliveryService.DeliverFile(file);
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Distributor
{
public class Distributor
{
public void Run()
{
var file = new DistributionFile { FileName = "File.txt" };
foreach (var deliverySe... | mit | C# |
47948d7b34c860e17d73579ac4ee6e91d69e3506 | Set default for bindable in object initializer | peppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu | osu.Game/Screens/Edit/Verify/VisibilitySection.cs | osu.Game/Screens/Edit/Verify/VisibilitySection.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.Bindables;
using osu.Framework.Graphics;
using osu.Game.Overlays;
using osu.Game.Overlays.Settings;
using osu.Game.Rul... | // 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.Bindables;
using osu.Framework.Graphics;
using osu.Game.Overlays;
using osu.Game.Overlays.Settings;
using osu.Game.Rul... | mit | C# |
9d701c0c241937afc1685b5faee16d85e7baaefa | update version for release | Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal | Master/Appleseed/Projects/PortableAreas/PageManagerTree/Properties/AssemblyInfo.cs | Master/Appleseed/Projects/PortableAreas/PageManagerTree/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("Pa... | 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("Pa... | apache-2.0 | C# |
8dab3f1ed2b6b7e0516cc99b2c10cb3612419a11 | Add tests with Lambda, ByRef and ByVal | mavasani/roslyn-analyzers,bkoelman/roslyn-analyzers,pakdev/roslyn-analyzers,jasonmalinowski/roslyn-analyzers,srivatsn/roslyn-analyzers,pakdev/roslyn-analyzers,genlu/roslyn-analyzers,qinxgit/roslyn-analyzers,dotnet/roslyn-analyzers,mavasani/roslyn-analyzers,Anniepoh/roslyn-analyzers,heejaechang/roslyn-analyzers,natidea/... | src/Microsoft.Maintainability.Analyzers/UnitTests/RemoveUnusedLocalsTests.cs | src/Microsoft.Maintainability.Analyzers/UnitTests/RemoveUnusedLocalsTests.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.UnitTests;
using Xunit;
namespace Microsoft.Maintainability.Analyzers.Un... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.UnitTests;
using Xunit;
namespace Microsoft.Maintainability.Analyzers.Un... | mit | C# |
5775743a297272cf58902f036f56c08dba07b517 | Fix crash in UWP design mode | Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms | Xamarin.Forms.Platform.WinRT/WindowsBasePage.cs | Xamarin.Forms.Platform.WinRT/WindowsBasePage.cs | using System;
using System.ComponentModel;
using Windows.ApplicationModel;
#if WINDOWS_UWP
namespace Xamarin.Forms.Platform.UWP
#else
namespace Xamarin.Forms.Platform.WinRT
#endif
{
public abstract class WindowsBasePage : Windows.UI.Xaml.Controls.Page
{
public WindowsBasePage()
{
if (!DesignMode.DesignMode... | using System;
using System.ComponentModel;
using Windows.ApplicationModel;
#if WINDOWS_UWP
namespace Xamarin.Forms.Platform.UWP
#else
namespace Xamarin.Forms.Platform.WinRT
#endif
{
public abstract class WindowsBasePage : Windows.UI.Xaml.Controls.Page
{
public WindowsBasePage()
{
Windows.UI.Xaml.Applicatio... | mit | C# |
a98e98aba0cd7abc74912bf77066db70d0b0c14b | Build script update to fine-tune AppVeyor behaviour as per #10 | agc93/Cake.VisualStudio,agc93/Cake.VisualStudio | build.cake | build.cake | ///////////////////////////////////////////////////////////////////////////////
// ARGUMENTS
///////////////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
///////////////////////////////////////////... | ///////////////////////////////////////////////////////////////////////////////
// ARGUMENTS
///////////////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
///////////////////////////////////////////... | mit | C# |
17475e60b0a733344a60a619a3c4fc16f2d9b95d | Fix missed test scene update | NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,UselessToucan/osu,smoogipooo/osu,ppy/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,ppy/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu | osu.Game.Tests/Visual/Online/TestSceneRankingsOverlay.cs | osu.Game.Tests/Visual/Online/TestSceneRankingsOverlay.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.Game.Overlays;
using NUnit.Framework;
using osu.Game.Users;
using osu.Framework.Bindables;
using osu.Game.Overlays.Rankings;
n... | // 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.Game.Overlays;
using NUnit.Framework;
using osu.Game.Users;
using osu.Framework.Bindables;
using osu.Game.Overlays.Rankings;
n... | mit | C# |
00c87bf0858f6ee8c46810f659f70080c62e3bf6 | Fix information in AssemblyInfo.cs. | GunioRobot/sdb-cli,GunioRobot/sdb-cli | Mono.Debugger.Cli/Properties/AssemblyInfo.cs | Mono.Debugger.Cli/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Mono.Debugger.Cli")]
[assembly: AssemblyProduct("sdb-cli")]
[assembly: AssemblyDescription("Command line interface to Mono.Debugger.Soft")]
[assembly: AssemblyCompany("Xamarin")]
[assembly: AssemblyCopyright("Copyright © Alex Røn... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Mono.Debugger.Cli")]
[assembly: AssemblyProduct("Mono.Debugger.Cli")]
[assembly: AssemblyDescription("Command line interface to Mono.Debugger.Soft")]
[assembly: AssemblyCompany("Novell")]
[assembly: AssemblyCopyright("Copyright ©... | mit | C# |
c7f8af2ab53467f8b8fa2a72eef280e486714054 | Make renderAtPoint virtual | HelloKitty/317refactor | src/Rs317.Library/Animable.cs | src/Rs317.Library/Animable.cs |
public class Animable : Cacheable
{
public VertexNormal[] vertexNormals;
public int modelHeight;
protected Animable()
{
modelHeight = 1000;
}
public virtual Model getRotatedModel()
{
return null;
}
public virtual void renderAtPoint(int i, int j, int k, int l, int i1, int j1, int k1, int l1, int i2)
{
... |
public class Animable : Cacheable
{
public VertexNormal[] vertexNormals;
public int modelHeight;
protected Animable()
{
modelHeight = 1000;
}
public virtual Model getRotatedModel()
{
return null;
}
public void renderAtPoint(int i, int j, int k, int l, int i1, int j1, int k1, int l1, int i2)
{
Model ... | mit | C# |
8bbed828d8b507f2019c9e9906ec594a5db3ea60 | Add underscore before "A11y" in setting name | roman-yagodin/R7.Epsilon,roman-yagodin/R7.Epsilon,roman-yagodin/R7.Epsilon | R7.Epsilon.LayoutManager/Components/Const.cs | R7.Epsilon.LayoutManager/Components/Const.cs | //
// Const.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2016 Roman M. Yagodin
//
// 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 restr... | //
// Const.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2016 Roman M. Yagodin
//
// 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 restr... | agpl-3.0 | C# |
c67a86158b83af2e67e9c1d62f057289ca14740d | Update WildSets | HearthSim/HearthDb | HearthDb/Helper.cs | HearthDb/Helper.cs | using HearthDb.Enums;
using System.Text.RegularExpressions;
namespace HearthDb
{
public static class Helper
{
public static Regex AtCounterRegex = new Regex(@"\|4\(([^,)]+),\s*([^,)]+)\)");
public static Regex ProgressRegex = new Regex(@"\(@\/\d+\)");
public static CardSet[] WildSets =
{
CardSet.BRM, C... | using HearthDb.Enums;
using System.Text.RegularExpressions;
namespace HearthDb
{
public static class Helper
{
public static Regex AtCounterRegex = new Regex(@"\|4\(([^,)]+),\s*([^,)]+)\)");
public static Regex ProgressRegex = new Regex(@"\(@\/\d+\)");
public static CardSet[] WildSets =
{
CardSet.PROMO,... | mit | C# |
777aa5012c1fdba127f7fbac41014eb5a10bba73 | Allow parameters for get authorization uri | myquay/Chq.OAuth | Chq.OAuth/Client.cs | Chq.OAuth/Client.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Chq.OAuth.Credentials;
using System.Reflection;
namespace Chq.OAuth
{
public sealed class Client
{
private OAuthContext _context;
public OAuthContext Context
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Chq.OAuth.Credentials;
namespace Chq.OAuth
{
public sealed class Client
{
private OAuthContext _context;
public OAuthContext Context
{
get { return _con... | mit | C# |
0f25d60c202a4f63b467324c1ac496a64162b619 | Add jqueryval to Create.cshtml | Team-Code-Ninjas/SpaceBlog,Team-Code-Ninjas/SpaceBlog,Team-Code-Ninjas/SpaceBlog | SpaceBlog/SpaceBlog/Views/Home/Create.cshtml | SpaceBlog/SpaceBlog/Views/Home/Create.cshtml | @{
ViewBag.Title = "Create";
}
<div class="container">
<h2>@ViewBag.Title</h2>
<div class="container body-content span=8 offset=2">
<form class="form-horizontal">
<fieldset>
<legend>New Post</legend>
<div class="form-group">
<lab... | @{
ViewBag.Title = "Create";
}
<div class="container">
<h2>@ViewBag.Title</h2>
<div class="container body-content span=8 offset=2">
<form class="form-horizontal">
<fieldset>
<legend>New Post</legend>
<div class="form-group">
<la... | mit | C# |
fbeaa20469d9b775e32a9ab2d2b5117c85e9ca0a | Refactor the Resolve method to use instances of IPathElement types | Domysee/Pather.CSharp | src/Pather.CSharp/Resolver.cs | src/Pather.CSharp/Resolver.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Reflection;
using Pather.CSharp.PathElements;
namespace Pather.CSharp
{
public class Resolver
{
private IList<Type> pathElementTypes;
public Resolver()
{
pathEleme... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Reflection;
using Pather.CSharp.PathElements;
namespace Pather.CSharp
{
public class Resolver
{
private IList<Type> pathElementTypes;
public Resolver()
{
pathEleme... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.