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 |
|---|---|---|---|---|---|---|---|---|
cf42ff92ec282d0cc467f90f24921fa5eb14718c | Fix is null | avifatal/framework,signumsoftware/framework,avifatal/framework,signumsoftware/framework,AlejandroCano/framework,AlejandroCano/framework | Signum.Engine/Linq/ExpressionVisitor/DbQueryUtils.cs | Signum.Engine/Linq/ExpressionVisitor/DbQueryUtils.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using Signum.Utilities.ExpressionTrees;
using Signum.Engine.Maps;
using Signum.Entities;
using Signum.Utilities;
namespace Signum.Engine.Linq
{
internal static class DbQueryUtils
{... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using Signum.Utilities.ExpressionTrees;
using Signum.Engine.Maps;
using Signum.Entities;
using Signum.Utilities;
namespace Signum.Engine.Linq
{
internal static class DbQueryUtils
{... | mit | C# |
6209d6ec82fd425573724464a75d12bc40b666f9 | remove editor usings (#23) | bengreenier/Unity-MenuStack | Assets/Scripts/Navigation/BaseMenuNavigator.cs | Assets/Scripts/Navigation/BaseMenuNavigator.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using UnityEngine.UI;
namespace MenuStack.Navigation
{
/// <summary>
/// Base for a control capable of navigating to a different <see cref="Menu"/> within a <see cref="MenuRoot"/>
/// </summary>
pu... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEditor.Events;
using UnityEngine;
using UnityEngine.UI;
namespace MenuStack.Navigation
{
/// <summary>
/// Base for a control capable of navigating to a different <see cref="Menu"/> within a <see cref="MenuRoot"/>... | mit | C# |
c73cec6b1ee407e85dbc1f0d2c9ed23316b321a9 | Remove empty line in name spaces | tvanfosson/dapper-integration-testing | DapperTesting/Core/Data/MsSqlConnectionFactory.cs | DapperTesting/Core/Data/MsSqlConnectionFactory.cs | using System.Data.Common;
using System.Data.SqlClient;
using DapperTesting.Core.Configuration;
namespace DapperTesting.Core.Data
{
public class MsSqlConnectionFactory : IConnectionFactory
{
private readonly IConfiguration _configuration;
public MsSqlConnectionFactory(IConfiguration configurat... | using System.Data.Common;
using System.Data.SqlClient;
using DapperTesting.Core.Configuration;
namespace DapperTesting.Core.Data
{
public class MsSqlConnectionFactory : IConnectionFactory
{
private readonly IConfiguration _configuration;
public MsSqlConnectionFactory(IConfiguration configura... | mit | C# |
bb2451515914d98fe0249f58b7cdb8c062d5078a | refactor repository | eriklieben/ErikLieben.Data | ErikLieben.Data/Repository/IRepository.cs | ErikLieben.Data/Repository/IRepository.cs | namespace ErikLieben.Data.Repository
{
using System.Collections.Generic;
public interface IRepository<T>
where T : class
{
/// <summary>
/// Adds the specified item.
/// </summary>
/// <param name="item">The item to add.</param>
void Add(T item);
//... | namespace ErikLieben.Data.Repository
{
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Threading;
using System.Threading.Tasks;
public interface IRepository<T>
where T : class
{
/// <summary>
/// Adds the specified item.
//... | mit | C# |
2b9c24142bb7d8f5389f1872ff85e8855fe07b8b | fix namespace | feedhenry-templates/blank-xamarin,feedhenry-templates/blank-xamarin | blank-xamarin-android/MainActivity.cs | blank-xamarin-android/MainActivity.cs | using Android.App;
using Android.Widget;
using Android.OS;
using FHSDK;
namespace fhxamarinandroidblank
{
[Activity (Label = "fh-xamarin-android-blank", MainLauncher = true, Icon = "@mipmap/icon")]
public class MainActivity : Activity
{
protected override void OnCreate (Bundle savedInstanceState)
{
base... | using Android.App;
using Android.Widget;
using Android.OS;
using FHSDK.Droid;
namespace fhxamarinandroidblank
{
[Activity (Label = "fh-xamarin-android-blank", MainLauncher = true, Icon = "@mipmap/icon")]
public class MainActivity : Activity
{
protected override void OnCreate (Bundle savedInstance... | apache-2.0 | C# |
822c760888a1f6f8f06519a033d988cd60292186 | clean up | dkataskin/bstrkr | bstrkr.mobile/bstrkr.android/Setup.cs | bstrkr.mobile/bstrkr.android/Setup.cs | using Android.Content;
using Cirrious.CrossCore;
using Cirrious.CrossCore.Platform;
using Cirrious.MvvmCross.Binding.Bindings.Target.Construction;
using Cirrious.MvvmCross.Droid.Platform;
using Cirrious.MvvmCross.Droid.Views;
using Cirrious.MvvmCross.ViewModels;
using Xamarin;
using bstrkr.core.android.config;
using... | using Android.Content;
using Cirrious.CrossCore;
using Cirrious.CrossCore.Platform;
using Cirrious.MvvmCross.Binding.Bindings.Target.Construction;
using Cirrious.MvvmCross.Droid.Platform;
using Cirrious.MvvmCross.ViewModels;
using bstrkr.core.android.config;
using bstrkr.core.android.services;
using bstrkr.core.andro... | bsd-2-clause | C# |
799e91446fa3625afea6b4d3bb28fa0bc5ded147 | fix bug all fun | dzhenko/FunBook,dzhenko/FunBook | FunBook/FunBook.WebForms/FunAreaPages/All.aspx.cs | FunBook/FunBook.WebForms/FunAreaPages/All.aspx.cs | using System;
using System.Linq;
using System.Web.ModelBinding;
using System.Web.UI;
using FunBook.Data;
using FunBook.WebForms.DataModels;
namespace FunBook.WebForms.FunAreaPages
{
public partial class All : Page
{
private FunBookData db = FunBookData.Create();
public IQueryable<HomeItemData... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.UI;
using FunBook.Data;
using FunBook.WebForms.DataModels;
using System.Web.ModelBinding;
namespace FunBook.WebForms.FunAreaPages
{
public partial class All : Page
{
private FunBookData db = FunBookData.Create();
... | mit | C# |
f39b1105cf76720911c8b7d6ed40a96f509ae25e | Fix for Prelude.random can throw an OverflowException | StanJav/language-ext,louthy/language-ext | LanguageExt.Core/Prelude/Random/Prelude_Random.cs | LanguageExt.Core/Prelude/Random/Prelude_Random.cs | using System;
using System.Buffers;
using System.Runtime.CompilerServices;
using System.Security.Cryptography;
using System.Threading;
namespace LanguageExt
{
public static partial class Prelude
{
// There is no documentation that specifies whether the underlying RNG is thread-safe.
// It is a... | using System;
using System.Security.Cryptography;
namespace LanguageExt
{
public static partial class Prelude
{
readonly static RandomNumberGenerator rnd = RandomNumberGenerator.Create();
readonly static byte[] inttarget = new byte[4];
/// <summary>
/// Thread-safe cryptograph... | mit | C# |
cfd25082c68feef1dbb78af33980fe8929243801 | return ok or error from insert | pako1337/Content_Man,pako1337/Content_Man | Content_Man.Web/api/ContentElementApiModule.cs | Content_Man.Web/api/ContentElementApiModule.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ContentDomain;
using ContentDomain.Dto;
using ContentDomain.Repositories;
using Nancy;
using Nancy.ModelBinding;
namespace Content_Man.Web.Api
{
public class ContentElementApiModule : Nancy.NancyModule
{
public ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ContentDomain;
using ContentDomain.Dto;
using ContentDomain.Repositories;
using Nancy;
using Nancy.ModelBinding;
namespace Content_Man.Web.Api
{
public class ContentElementApiModule : Nancy.NancyModule
{
public ... | mit | C# |
a1af9b181ddf272a6ac438aaf2d012e99159ee49 | Add overload to Console.WriteLine for string formatting | x335/WootzJs,kswoll/WootzJs,kswoll/WootzJs,x335/WootzJs,x335/WootzJs,kswoll/WootzJs | WootzJs.Runtime/Console.cs | WootzJs.Runtime/Console.cs | #region License
//-----------------------------------------------------------------------
// <copyright>
// The MIT License (MIT)
//
// Copyright (c) 2014 Kirk S Woll
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Softwa... | #region License
//-----------------------------------------------------------------------
// <copyright>
// The MIT License (MIT)
//
// Copyright (c) 2014 Kirk S Woll
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Softwar... | mit | C# |
77a80f6a56806d4ef1a22319793496fd9f1d11da | Update index.cshtml | LeedsSharp/AppVeyorDemo | src/AppVeyorDemo/AppVeyorDemo/Views/index.cshtml | src/AppVeyorDemo/AppVeyorDemo/Views/index.cshtml | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>AppVeyor - Leeds#</title>
<style type="text/css">
body {
text-align: center;
}
h1 {
font-family: 'Segoe UI Light', 'Helvetica Neue', Helvetica, Helvetica, Arial, sans-serif;
}
</style>
</head>
<body... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>AppVeyor - Leeds#</title>
<style type="text/css">
body {
text-align: center;
}
h1 {
font-family: 'Segoe UI Light', 'Helvetica Neue', Helvetica, Helvetica, Arial, sans-serif;
}
</style>
</head>
<body... | apache-2.0 | C# |
9fced67880cd6d9136770864c0ccc55ad433fcf6 | Initialise before enumerating, so can enumerate multiple times | ceddlyburge/canoe-polo-league-organiser-backend | CanoePoloLeagueOrganiser/PragmatisePermutations.cs | CanoePoloLeagueOrganiser/PragmatisePermutations.cs | using System;
using System.Collections.Generic;
using static System.Diagnostics.Contracts.Contract;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CanoePoloLeagueOrganiser
{
public class PragmatisePermutations
{
IEnumerable<Game[]> Permutations { get; }
IPragmati... | using System;
using System.Collections.Generic;
using static System.Diagnostics.Contracts.Contract;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CanoePoloLeagueOrganiser
{
public class PragmatisePermutations
{
IEnumerable<Game[]> Permutations { get; }
IPragmati... | mit | C# |
69b6fea587f77429aeb52e26b3bab38fca670afd | make sortSequence nullable | Team-LemonDrop/NBA-Statistics | NBAStatistics.Data.FillMongoDB/Models/Coach.cs | NBAStatistics.Data.FillMongoDB/Models/Coach.cs | using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace NBAStatistics.Data.FillMongoDB.Models
{
public class Coach : IEntity
{
public Coach(
int teamId,
string season,
string coachId,
string firstName,
string lastName,
... | using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace NBAStatistics.Data.FillMongoDB.Models
{
public class Coach : IEntity
{
public Coach(
int teamId,
string season,
string coachId,
string firstName,
string lastName,
... | mit | C# |
b3bcd1687bc583fe286ccdab22456e4c975db9b9 | Fix SA1518 File may not end with a newline character | Vodurden/Http-Multipart-Data-Parser | Source/HttpMultipartParser/MultipartStreamPart.cs | Source/HttpMultipartParser/MultipartStreamPart.cs | namespace HttpMultipartParser
{
internal class MultipartStreamPart
{
}
} | namespace HttpMultipartParser
{
internal class MultipartStreamPart
{
}
}
| mit | C# |
380f0a9b57148c8ccd863977436916cbea0cef5b | Check for network | AngleSharp/AngleSharp.Scripting,AngleSharp/AngleSharp.Scripting | AngleSharp.Scripting.JavaScript.Tests/PageTests.cs | AngleSharp.Scripting.JavaScript.Tests/PageTests.cs | namespace AngleSharp.Scripting.JavaScript.Tests
{
using AngleSharp.Dom;
using NUnit.Framework;
using System;
using System.Threading.Tasks;
[TestFixture]
public class PageTests
{
static Task<IDocument> LoadPage(String url)
{
var configuration = Configuration.Defa... | namespace AngleSharp.Scripting.JavaScript.Tests
{
using NUnit.Framework;
using System.Threading.Tasks;
[TestFixture]
public class PageTests
{
//[Test]
public async Task RunHtml5Test()
{
var target = "http://html5test.com";
var config = Configuration.... | mit | C# |
2f717a36d71ecd447693e227c1751af3e5677c08 | Add Restart to CompositeTask | marcotmp/BehaviorTree | Assets/Scripts/BehaviorTree/Tasks/CompositeTask.cs | Assets/Scripts/BehaviorTree/Tasks/CompositeTask.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CompositeTask : Task {
public List<Task> tasks;
public CompositeTask(string name) : base(name) {
tasks = new List<Task>();
}
public void AddTask(Task task)
{
tasks.Add(task);
}
p... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CompositeTask : Task {
public List<Task> tasks;
public CompositeTask(string name) : base(name) {
tasks = new List<Task>();
}
public void AddTask(Task task)
{
tasks.Add(task);
}
}
| unlicense | C# |
ba9ef473ff32da32b7baa010ff712a39a63c26a9 | fix sample client | DigDes/SoapCore | samples/Client/Program.cs | samples/Client/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Threading.Tasks;
using Models;
namespace Client
{
public class Program
{
public static void Main(string[] args)
{
Newtonsoft.Json.JsonConvert.DefaultSettings = (() =>
{
var settings = new Newtons... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Threading.Tasks;
using Models;
namespace Client
{
public class Program
{
public static void Main(string[] args)
{
Newtonsoft.Json.JsonConvert.DefaultSettings = (() =>
{
var settings = new Newtons... | mit | C# |
84c2ffca08546fec91a153d23309f97f643a2075 | change the amount we can randomly walk away from the start price from 10% to 3% | AdaptiveConsulting/ReactiveTrader,mrClapham/ReactiveTrader,jorik041/ReactiveTrader,jorik041/ReactiveTrader,LeeCampbell/ReactiveTrader,akrisiun/ReactiveTrader,HalidCisse/ReactiveTrader,abbasmhd/ReactiveTrader,LeeCampbell/ReactiveTrader,akrisiun/ReactiveTrader,rikoe/ReactiveTrader,HalidCisse/ReactiveTrader,mrClapham/Reac... | src/Adaptive.ReactiveTrader.Server.Domain/ReferenceData/RandomWalkCurrencyPairInfo.cs | src/Adaptive.ReactiveTrader.Server.Domain/ReferenceData/RandomWalkCurrencyPairInfo.cs | using System;
using System.Diagnostics;
using Adaptive.ReactiveTrader.Shared.DTO.Pricing;
using Adaptive.ReactiveTrader.Shared.DTO.ReferenceData;
namespace Adaptive.ReactiveTrader.Server.ReferenceData
{
public sealed class RandomWalkCurrencyPairInfo : CurrencyPairInfo
{
private static readonly Random ... | using System;
using System.Diagnostics;
using Adaptive.ReactiveTrader.Shared.DTO.Pricing;
using Adaptive.ReactiveTrader.Shared.DTO.ReferenceData;
namespace Adaptive.ReactiveTrader.Server.ReferenceData
{
public sealed class RandomWalkCurrencyPairInfo : CurrencyPairInfo
{
private static readonly Random ... | apache-2.0 | C# |
8cf4d534563b1831a5b0b016b0ad0763c4ad061b | Refactor `IUIComponentExtensions.WaitForCssTransitionEnd` method | atata-framework/atata-kendoui,atata-framework/atata-kendoui | src/Atata.KendoUI/Extensions/IUIComponentExtensions.cs | src/Atata.KendoUI/Extensions/IUIComponentExtensions.cs | using System;
using OpenQA.Selenium;
namespace Atata.KendoUI
{
internal static class IUIComponentExtensions
{
internal static TOwner WaitForCssTransitionEnd<TOwner>(this IUIComponent<TOwner> component, string transitionName, RetryOptions waitingOptions, SearchOptions searchOptions = null)
... | using System;
using OpenQA.Selenium;
namespace Atata.KendoUI
{
internal static class IUIComponentExtensions
{
internal static TOwner WaitForCssTransitionEnd<TOwner>(this IUIComponent<TOwner> component, string transitionName, RetryOptions waitingOptions, SearchOptions searchOptions = null)
... | apache-2.0 | C# |
970863ecb68a40cf25cfd32dc31e2dec909998ea | Remove CaseState now that it is no longer used. | fixie/fixie | src/Fixie/Internal/Case.cs | src/Fixie/Internal/Case.cs | namespace Fixie.Internal
{
using System.Collections.Generic;
using System.Reflection;
using System.Threading.Tasks;
/// <summary>
/// A test case being executed, representing a single call to a test method.
/// </summary>
class Case
{
readonly object?[] parameters;
pub... | namespace Fixie.Internal
{
using System.Collections.Generic;
using System.Reflection;
using System.Threading.Tasks;
/// <summary>
/// A test case being executed, representing a single call to a test method.
/// </summary>
class Case
{
readonly object?[] parameters;
pub... | mit | C# |
86307b9f99ccc504dd51d8573ac6690bf4ed5705 | Add support for file uploading #4 - add support for Edge | cezarypiatek/Tellurium,cezarypiatek/Tellurium,cezarypiatek/Tellurium,cezarypiatek/MaintainableSelenium,cezarypiatek/MaintainableSelenium,cezarypiatek/MaintainableSelenium | Src/MvcPages/SeleniumUtils/FileUploading/Robot.cs | Src/MvcPages/SeleniumUtils/FileUploading/Robot.cs | using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using Tellurium.MvcPages.SeleniumUtils.FileUploading.WindowsInternals;
namespace Tellurium.MvcPages.SeleniumUtils.FileUploading
{
internal static class Robot
{
internal static ControlHandle GetUploa... | using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using Tellurium.MvcPages.SeleniumUtils.FileUploading.WindowsInternals;
namespace Tellurium.MvcPages.SeleniumUtils.FileUploading
{
internal static class Robot
{
internal static ControlHandle GetUploa... | mit | C# |
4fb09adb96bcf44b171a58673272c17eb6dd7ea4 | Comment fixed. | orbital7/orbital7.extensions,orbital7/orbital7.extensions | src/Orbital7.Extensions.WebAPIClient/AccountAPIBase.cs | src/Orbital7.Extensions.WebAPIClient/AccountAPIBase.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Json;
using System.Text;
using System.Threading.Tasks;
// TODO: This library needs Microsoft.AspNet.WebApi.Client, which isn't yet available in .NET Standard 2.0. See:
//
// https://github.com/aspnet... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Json;
using System.Text;
using System.Threading.Tasks;
// TODO: This library needs Microsoft.AspNet.WebApi.Client, which isn't yet available in .NET Standard 2.0 Preview 2,
// but is planned for inc... | mit | C# |
7d497ac7ae95dbb67fcee82ab2f4da8f5189ec7b | Update /Home/Basic.cshtml | aliencube/ReCaptcha.NET,aliencube/ReCaptcha.NET,aliencube/ReCaptcha.NET | SourceCodes/02_Apps/ReCaptcha.Wrapper.WebApp/Views/Home/Basic.cshtml | SourceCodes/02_Apps/ReCaptcha.Wrapper.WebApp/Views/Home/Basic.cshtml | @using Aliencube.ReCaptcha.Wrapper.Mvc
@using Aliencube.ReCaptcha.Wrapper.Mvc.Parameters
@model Aliencube.ReCaptcha.Wrapper.WebApp.Models.HomeBasicViewModel
@{
ViewBag.Title = "Basic";
}
<h2>@ViewBag.Title</h2>
@if (!IsPost)
{
using (Html.BeginForm(MVC.Home.ActionNames.Basic, MVC.Home.Name, FormMethod.Post))... | @using Aliencube.ReCaptcha.Wrapper.Mvc
@using Aliencube.ReCaptcha.Wrapper.Mvc.Parameters
@model Aliencube.ReCaptcha.Wrapper.WebApp.Models.HomeBasicViewModel
@{
ViewBag.Title = "Basic";
}
<h2>@ViewBag.Title</h2>
@using (Html.BeginForm(MVC.Home.ActionNames.Basic, MVC.Home.Name, FormMethod.Post))
{
<div class="... | mit | C# |
ae4eb8aaf3f6f24f7f9ee8cab847751145b4fc3a | Fix global options for Integration test | aluxnimm/outlookcaldavsynchronizer | CalDavSynchronizer.IntegrationTests/Infrastructure/InMemoryGeneralOptionsDataAccess.cs | CalDavSynchronizer.IntegrationTests/Infrastructure/InMemoryGeneralOptionsDataAccess.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CalDavSynchronizer.Contracts;
using CalDavSynchronizer.DataAccess;
namespace CalDavSynchronizer.IntegrationTests.Infrastructure
{
class InMemoryGeneralOptionsDataAccess : IGeneralOptionsDataAcce... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CalDavSynchronizer.Contracts;
using CalDavSynchronizer.DataAccess;
namespace CalDavSynchronizer.IntegrationTests.Infrastructure
{
class InMemoryGeneralOptionsDataAccess : IGeneralOptionsDataAcce... | agpl-3.0 | C# |
bd4b2f4192382d211fe61608252ab739c770e447 | load multiple factories | jefking/King.Service | Demos/King.Service.CloudService.Role/WorkerRole.cs | Demos/King.Service.CloudService.Role/WorkerRole.cs | namespace King.Service.CloudService.Role
{
using Microsoft.WindowsAzure.ServiceRuntime;
public class WorkerRole : RoleEntryPoint
{
/// <summary>
/// Role Service Manager
/// </summary>
private readonly IRoleTaskManager<Configuration> manager = new RoleTaskManager<Configurati... | namespace King.Service.CloudService.Role
{
using Microsoft.WindowsAzure.ServiceRuntime;
public class WorkerRole : RoleEntryPoint
{
/// <summary>
/// Role Service Manager
/// </summary>
private readonly IRoleTaskManager<Configuration> manager = new RoleTaskManager<Configurati... | mit | C# |
e6eac428542c7f7490482ef44c7a79fff2753e76 | Update AdUnitSelector.cs | tiksn/TIKSN-Framework | TIKSN.Framework.UWP/Advertising/AdUnitSelector.cs | TIKSN.Framework.UWP/Advertising/AdUnitSelector.cs | using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System.Diagnostics;
namespace TIKSN.Advertising
{
public class AdUnitSelector : IAdUnitSelector
{
private readonly ILogger<AdUnitSelector> _logger;
private readonly IOptions<AdUnitSelectorOptions> _options;
... | using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System.Diagnostics;
namespace TIKSN.Advertising
{
public class AdUnitSelector : IAdUnitSelector
{
private readonly ILogger<AdUnitSelector> _logger;
private readonly IOptions<AdUnitSelectorOptions> _options;
... | mit | C# |
549ddee4ace6003202d4818e2fb1a6364ce18505 | Update Mobile.cs | jkanchelov/Telerik-OOP-Team-StarFruit | TeamworkStarFruit/CatalogueLib/Products/Mobile.cs | TeamworkStarFruit/CatalogueLib/Products/Mobile.cs | namespace CatalogueLib
{
using CatalogueLib.Products.Enumerations;
using CatalogueLib.Products.Struct;
using System.Text;
public abstract class Mobile : Product
{
public Mobile()
{
}
public Mobile(int ID, decimal price, bool isAvailable, Brand brand, int Memory, s... | namespace CatalogueLib
{
using CatalogueLib.Products.Enumerations;
using CatalogueLib.Products.Struct;
using System.Text;
public abstract class Mobile : Product
{
public Mobile()
{
}
public Mobile(int ID, decimal price, bool isAvailable, Brand brand, int Memory, s... | mit | C# |
81e4d59b4017f9d1da38514557824466a71fc78c | return request scope values | beginor/owin-samples | Owin04_OAuthResource/Controllers/UserController.cs | Owin04_OAuthResource/Controllers/UserController.cs | using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Web.Http;
namespace Owin04_OAuthResource.Controllers {
[Authorize]
public class UserController : ApiController {
public object Get() {
var identity = User.Identity as ClaimsIdentity;
... | using System.Web.Http;
namespace Owin04_OAuthResource.Controllers {
[Authorize]
public class UserController : ApiController {
public string Get() {
return User.Identity.Name;
}
}
} | mit | C# |
5f24d4350aa512d7d436ad5fa858292ee1d8c4ea | mark ModuleRoot as tag class | invisibledrygoods/RequireUnity | RequireUnity/Assets/Scripts/ModuleRoot.cs | RequireUnity/Assets/Scripts/ModuleRoot.cs | using UnityEngine;
public class ModuleRoot : MonoBehaviour
{
// tag class
}
| using UnityEngine;
public class ModuleRoot : MonoBehaviour
{
}
| bsd-2-clause | C# |
63b7730f1021eb613c81202ed5b9d7ecf4046ae3 | use correct name for game mode in logs | fomalsd/unitystation,krille90/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation | UnityProject/Assets/Scripts/GameModes/Cargonia.cs | UnityProject/Assets/Scripts/GameModes/Cargonia.cs | using UnityEngine;
using Antagonists;
using System.Collections;
using System.Collections.Generic;
using System;
[CreateAssetMenu(menuName="ScriptableObjects/GameModes/Cargonia")]
public class Cargonia : GameMode
{
/// <summary>
/// Set up the station for the game mode
/// </summary>
private List<JobType> RebelJob;... | using UnityEngine;
using Antagonists;
using System.Collections;
using System.Collections.Generic;
using System;
[CreateAssetMenu(menuName="ScriptableObjects/GameModes/Cargonia")]
public class Cargonia : GameMode
{
/// <summary>
/// Set up the station for the game mode
/// </summary>
private List<JobType> RebelJob;... | agpl-3.0 | C# |
0b947ecf2494a5e3f2dbd0a9d4c52224cf294928 | Add sanity test for 600 (DC) and 700 (DCC). | 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# |
7be05dc96b23377a17fb1228e208a418427c17c7 | add graphite to samples | Recognos/Metrics.NET,cvent/Metrics.NET,huoxudong125/Metrics.NET,Liwoj/Metrics.NET,ntent-ad/Metrics.NET,mnadel/Metrics.NET,etishor/Metrics.NET,DeonHeyns/Metrics.NET,MetaG8/Metrics.NET,MetaG8/Metrics.NET,huoxudong125/Metrics.NET,alhardy/Metrics.NET,cvent/Metrics.NET,Recognos/Metrics.NET,DeonHeyns/Metrics.NET,mnadel/Metri... | Samples/Metrics.SamplesConsole/Program.cs | Samples/Metrics.SamplesConsole/Program.cs | using System;
using Metrics.Samples;
using Metrics.Utils;
namespace Metrics.SamplesConsole
{
class Program
{
static void Main(string[] args)
{
//Metric.CompletelyDisableMetrics();
Metric.Config
.WithHttpEndpoint("http://localhost:1234/metrics/")
... | using System;
using Metrics.Samples;
using Metrics.Utils;
namespace Metrics.SamplesConsole
{
class Program
{
static void Main(string[] args)
{
//Metric.CompletelyDisableMetrics();
Metric.Config
.WithHttpEndpoint("http://localhost:1234/metrics/")
... | apache-2.0 | C# |
accaa3edc5dcb88e0e9b09131f59489dd1a65350 | Bump System.Contrib version | Smartrak/Smartrak.Library | System.Contrib/Properties/AssemblyInfo.cs | System.Contrib/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("System.Contrib")]
[assembly: AssemblyDesc... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("System.Contrib")]
[assembly: AssemblyDesc... | mit | C# |
988d3627f811c400e9536492f1dbff3ada55939d | Fix inventory trying to update on every frame | Bering/TetriNET-RL | Assets/Scripts/Inventory.cs | Assets/Scripts/Inventory.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.Events;
public class Inventory : MonoBehaviour {
public int[] inventorySlots;
public UnityEvent InventoryChangedEvent;
protected bool isDirty;
void Awake()
{
inventorySlots = new int[18];
}
void Start()
... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.Events;
public class Inventory : MonoBehaviour {
public int[] inventorySlots;
public UnityEvent InventoryChangedEvent;
void Awake()
{
inventorySlots = new int[18];
}
void Start()
{
for (int i = 0; i < in... | mit | C# |
9126edca7003c698f4f8a60e0ee10cd5c54605ec | Add documentation | SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,grokys/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia | src/Avalonia.Base/Metadata/TemplateDataTypeAttribute.cs | src/Avalonia.Base/Metadata/TemplateDataTypeAttribute.cs | using System;
namespace Avalonia.Metadata;
/// <summary>
/// Defines the property that contains type of the data passed to the <see cref="IDataTemplate"/> implementation.
/// </summary>
[AttributeUsage(AttributeTargets.Property)]
public class TemplateDataTypeAttribute : Attribute
{
}
| using System;
namespace Avalonia.Metadata;
[AttributeUsage(AttributeTargets.Property)]
public class TemplateDataTypeAttribute : Attribute
{
}
| mit | C# |
767ecb4422e9cdef40551d4c9b9aa56805080f63 | Fix rank status | smoogipoo/osu,UselessToucan/osu,naoey/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,EVAST9919/osu,DrabWeb/osu,Nabile-Rahmani/osu,johnneijzen/osu,peppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,naoey/osu,peppy/osu-new,johnneijzen/osu,ZLima12/osu,EVAST9919/osu,peppy/osu,2yangk23/osu,Z... | osu.Game/Beatmaps/RankStatus.cs | osu.Game/Beatmaps/RankStatus.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.ComponentModel;
namespace osu.Game.Beatmaps
{
public enum RankStatus
{
Any = 7,
[Description("Ranked & Approved")]
... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.ComponentModel;
namespace osu.Game.Beatmaps
{
public enum RankStatus
{
Any = 7,
[Description("Ranked & Approved")]
... | mit | C# |
32f34182a763a12234e1fa06b58239e07524f122 | Add documentation | rickyah/ini-parser,rickyah/ini-parser,davidgrupp/ini-parser | src/IniFileParser/Model/Formatting/IIniDataFormatter.cs | src/IniFileParser/Model/Formatting/IIniDataFormatter.cs | using IniParser.Model.Configuration;
namespace IniParser.Model.Formatting
{
/// <summary>
/// Formats a IniData structure to an string
/// </summary>
public interface IIniDataFormatter
{
/// <summary>
/// Produces an string given
/// </summary>
/// <returns>T... | using IniParser.Model.Configuration;
namespace IniParser.Model.Formatting
{
/// <summary>
/// Formats a IniData structure to an string
/// </summary>
public interface IIniDataFormatter
{
/// <summary>
/// Produces an string given
/// </summary>
/// <returns>T... | mit | C# |
cb4b17504e1e2e807023563698bcb9ed9b40e566 | Remove `[SuppressMessage]` - build break | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNet.StaticFiles/DefaultFilesOptions.cs | src/Microsoft.AspNet.StaticFiles/DefaultFilesOptions.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using Microsoft.AspNet.StaticFiles.Infrastructure;
namespace Microsoft.AspNet.StaticFiles
{
/// <summary>
///... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using Microsoft.AspNet.StaticFiles.Infrastructure;
namespace Microsoft.AspNet.... | apache-2.0 | C# |
f435f859b7ed8adc536c61452ffa665dda7f14f8 | Remove struct constraint from Box | sharper-library/Sharper.C.Box | Sharper.C.Box/Box.cs | Sharper.C.Box/Box.cs | namespace Sharper.C.Data
{
public sealed class Box<A>
{
internal Box(A a)
{
Unbox = a;
}
public A Unbox { get; }
public bool Equals(Box<A> ba)
=> ReferenceEquals(this, ba) || Unbox.Equals(ba.Unbox);
public override bool Equals(object o)... | namespace Sharper.C.Data
{
public sealed class Box<A>
{
internal Box(A a)
{
Unbox = a;
}
public A Unbox { get; }
public bool Equals(Box<A> ba)
=> ReferenceEquals(this, ba) || Unbox.Equals(ba.Unbox);
public override bool Equals(object o)... | mit | C# |
5faa54a14dabd7e5e8a6737469753da3dc8145d3 | add XML doc | OlegKleyman/Omego.Extensions | core/Omego.Extensions/NullExtensions/SmartCheck.cs | core/Omego.Extensions/NullExtensions/SmartCheck.cs | namespace Omego.Extensions.NullExtensions
{
using System;
using System.Linq.Expressions;
using Omego.Extensions.Poco;
public static partial class ObjectExtensions
{
/// <summary>
/// Throws an exception if part of any of the <paramref name="qualifierPath" /> is null.
/... | namespace Omego.Extensions.NullExtensions
{
using System;
using System.Linq.Expressions;
using Omego.Extensions.Poco;
public static partial class ObjectExtensions
{
public static void SmartCheck<TTarget>(
this TTarget target,
Func<string, Exception> exception,
... | unlicense | C# |
a9b0eb0ac2447ab49319aabf798e943aa980f292 | fix external assets path in tests | reinterpretcat/utymap,reinterpretcat/utymap,reinterpretcat/utymap | unity/library/UtyMap.Unity.Tests/Helpers/TestHelper.cs | unity/library/UtyMap.Unity.Tests/Helpers/TestHelper.cs | using System;
using UtyMap.Unity;
using UtyMap.Unity.Core;
using UtyMap.Unity.Infrastructure.Config;
using UtyMap.Unity.Infrastructure.Diagnostic;
using UtyMap.Unity.Infrastructure.IO;
using UtyDepend;
using UtyDepend.Config;
namespace UtyMap.Unity.Tests.Helpers
{
internal static class TestHelper
{
#r... | using System;
using UtyMap.Unity;
using UtyMap.Unity.Core;
using UtyMap.Unity.Infrastructure.Config;
using UtyMap.Unity.Infrastructure.Diagnostic;
using UtyMap.Unity.Infrastructure.IO;
using UtyDepend;
using UtyDepend.Config;
namespace UtyMap.Unity.Tests.Helpers
{
internal static class TestHelper
{
#r... | apache-2.0 | C# |
0cc472f38940f7ad11a923907941fa31d0139bbd | Remove unused constructor | appharbor/appharbor-cli | src/AppHarbor.Tests/Commands/CreateCommandTest.cs | src/AppHarbor.Tests/Commands/CreateCommandTest.cs | using System.Linq;
using AppHarbor.Commands;
using Moq;
using Ploeh.AutoFixture.Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests.Commands
{
public class CreateCommandTest
{
[Theory, AutoCommandData]
public void ShouldCreateApplication([Frozen]Mock<IAppHarborClient> client, CreateCommand command, string[... | using System.Linq;
using AppHarbor.Commands;
using Moq;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.AutoMoq;
using Ploeh.AutoFixture.Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests.Commands
{
public class CreateCommandTest
{
private readonly IFixture _fixture;
public CreateCommandTest()
{
_f... | mit | C# |
f3b730e26a768f633adb9826b96e85867e83d51f | Update IAppLoader.cs | ivan-prodanov/DotNet.Startup | Contracts/IAppLoader.cs | Contracts/IAppLoader.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace DotNet.Startup.Contracts
{
public interface IAppLoader
{
void Run();
void Run(Assembly assembly);
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DotNet.Startup.Contracts
{
public interface IAppLoader
{
void Run();
}
}
| unlicense | C# |
461c49939a5bfba7b716dec49788acbd169d518f | Update DefaultBufferPool.cs | justcoding121/StreamExtended | StreamExtended/BufferPool/DefaultBufferPool.cs | StreamExtended/BufferPool/DefaultBufferPool.cs | using System.Collections.Concurrent;
namespace StreamExtended
{
/// <summary>
/// A concrete IBufferPool implementation using a thread-safe stack.
/// Works well when all consumers ask for buffers with the same size.
/// If your application would use variable size buffers consider impleme... | using System.Collections.Concurrent;
namespace StreamExtended
{
/// <summary>
/// A concrete IBufferPool implementation using a thread-safe stack.
/// Works well when all consumers ask for buffers with the same size.
/// If your application would use size buffers consider implementing IBu... | mit | C# |
9ba48ed61fe9e58d205f903f144f31f37bee9e69 | Test to see if running multiple works ok. | zarlo/Cosmos,tgiphil/Cosmos,trivalik/Cosmos,trivalik/Cosmos,CosmosOS/Cosmos,trivalik/Cosmos,CosmosOS/Cosmos,fanoI/Cosmos,jp2masa/Cosmos,CosmosOS/Cosmos,tgiphil/Cosmos,tgiphil/Cosmos,zarlo/Cosmos,fanoI/Cosmos,zarlo/Cosmos,jp2masa/Cosmos,zarlo/Cosmos,fanoI/Cosmos,jp2masa/Cosmos,CosmosOS/Cosmos | Tests/Cosmos.TestRunner.Core/TestKernelSets.cs | Tests/Cosmos.TestRunner.Core/TestKernelSets.cs | using System;
using System.Collections.Generic;
namespace Cosmos.TestRunner.Core
{
public static class TestKernelSets
{
public static IEnumerable<Type> GetStableKernelTypes()
{
for (int i = 0; i < 5; i++)
{
yield return typeof(VGACompilerCrash.Kernel);
... | using System;
using System.Collections.Generic;
namespace Cosmos.TestRunner.Core
{
public static class TestKernelSets
{
public static IEnumerable<Type> GetStableKernelTypes()
{
yield return typeof(VGACompilerCrash.Kernel);
//yield return typeof(Cosmos.Compiler.Tests.Enc... | bsd-3-clause | C# |
0c924c027da49f5d348ba7a5918bfb1f8fd6d2b9 | Fix indentation | lucaslorentz/minicover,lucaslorentz/minicover,lucaslorentz/minicover | sample/src/Sample/TryFinally/ClassWithMultipleConstructors.cs | sample/src/Sample/TryFinally/ClassWithMultipleConstructors.cs | namespace Sample.TryFinally
{
public class ClassWithMultipleConstructors
{
private static readonly int staticValue;
private readonly int value;
private ClassWithMultipleConstructors() : this(15)
{
}
private ClassWithMultipleConstructors(int value)
{
... | namespace Sample.TryFinally
{
public class ClassWithMultipleConstructors
{
private static readonly int staticValue;
private readonly int value;
private ClassWithMultipleConstructors() : this(15)
{
}
private ClassWithMultipleConstructors(int value)
{
this.value ... | mit | C# |
ffbcc07388df6ab4938f4663105adc3528d03fd7 | Add MakeWritable binding | freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,GStreamer/gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,GStreamer/gstreamer-sharp,GStreamer/gstreamer-sharp,freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,gstream... | sources/custom/MiniObject.cs | sources/custom/MiniObject.cs | // Copyright (C) 2014 Stephan Sundermann <stephansundermann@gmail.com>
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) an... | // Copyright (C) 2014 Stephan Sundermann <stephansundermann@gmail.com>
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) an... | lgpl-2.1 | C# |
aa525038247c48f2f7709befb960cf5c73aed4f5 | Update CertificateRequestModel.cs | nomailme/TestAuthority | source/TestAuthorityCore/Contracts/CertificateRequestModel.cs | source/TestAuthorityCore/Contracts/CertificateRequestModel.cs | using System.ComponentModel;
using System.Linq;
namespace TestAuthorityCore.Contracts
{
/// <summary>
/// CertificateRequest
/// </summary>
public class CertificateRequestModel
{
private string commonName = string.Empty;
/// <summary>
/// Common Name
/// </summary>
... | using System.ComponentModel;
using System.Linq;
namespace TestAuthorityCore.Contracts
{
/// <summary>
/// CertificateRequest
/// </summary>
public class CertificateRequestModel
{
private string commonName = string.Empty;
/// <summary>
/// Common Name
/// </summary>
... | mit | C# |
3afcf7ca7f66554591c7d509ae858b0bd3967ef7 | Update ExitRenderDisable.cs | goodmorningcmdr/misc-unity-stuff,goodmorningcmdr/misc-unity-stuff | Assets/_Scripts/ExitRenderDisable.cs | Assets/_Scripts/ExitRenderDisable.cs | using UnityEngine;
using UnityEngine.Events;
public class ExitRenderDisable : MonoBehaviour {
public Transform target;
public bool distanceCheck;
public float maxDistance = 50;
[Range(0.001f, 60)]
public float interval = 1f;
public UnityEvent OnVisible;
public UnityEvent OnInvisible;
void Awake() {
if (ta... | using UnityEngine;
using UnityEngine.Events;
public class ExitRenderDisable : MonoBehaviour {
Transform player;
public bool distanceCheck;
public float maxDistance = 50;
[Range(0.001f, 60)]
public float interval = 1f;
public UnityEvent OnVisible;
public UnityEvent OnInvisible;
void Awake() {
player = Ca... | unlicense | C# |
b46083773d97ef7bcac176c7426df1c98d5efa71 | Hide UserId | Michitaro-Naito/GameServer | GameServer/Character.cs | GameServer/Character.cs | using ApiScheme.Scheme;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GameServer
{
public class Character
{
/// <summary>
/// Player who owns this Character.
/// </summary>
public Player Player { ge... | using ApiScheme.Scheme;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GameServer
{
public class Character
{
/// <summary>
/// Player who owns this Character.
/// </summary>
public Player Player { ge... | mit | C# |
f2d0d89133e0bcf2c09ff560bee6413357ba9278 | Test checkin with new repo | EnigmaDragons/SecurityConsultantCore | src/SecurityConsultantCore/Factories/SecurityObjectFactory.cs | src/SecurityConsultantCore/Factories/SecurityObjectFactory.cs | using System.Collections.Generic;
using SecurityConsultantCore.Domain;
using SecurityConsultantCore.Domain.Basic;
namespace SecurityConsultantCore.Factories
{
public static class SecurityObjectFactory
{
private static SecurityObjectContainer _container;
public static SecurityObject Create(str... | using System.Collections.Generic;
using SecurityConsultantCore.Domain;
using SecurityConsultantCore.Domain.Basic;
namespace SecurityConsultantCore.Factories
{
public static class SecurityObjectFactory
{
private static SecurityObjectContainer _container;
public static SecurityObject Create(str... | mit | C# |
c70089cd09c5eb880933b1333d587e7631c69733 | remove unnecessary using | wilcommerce/Wilcommerce.Core.Data.EFCore | src/Wilcommerce.Core.Data.EFCore/ReadModels/CommonDatabase.cs | src/Wilcommerce.Core.Data.EFCore/ReadModels/CommonDatabase.cs | using System.Linq;
using Wilcommerce.Core.Common.Domain.Models;
using Wilcommerce.Core.Common.Domain.ReadModels;
namespace Wilcommerce.Core.Data.EFCore.ReadModels
{
/// <summary>
/// Implementation of <see cref="ICommonDatabase"/>
/// </summary>
public class CommonDatabase : ICommonDatabase
{
... | using System.Linq;
using Wilcommerce.Core.Common.Domain.Events;
using Wilcommerce.Core.Common.Domain.Models;
using Wilcommerce.Core.Common.Domain.ReadModels;
namespace Wilcommerce.Core.Data.EFCore.ReadModels
{
/// <summary>
/// Implementation of <see cref="ICommonDatabase"/>
/// </summary>
public clas... | mit | C# |
6c3781e38910931e4cc6f0062b6a77cbe25cc85b | remove "nameof" | Borayvor/ASP.NET-MVC-CourseProject,Borayvor/ASP.NET-MVC-CourseProject,Borayvor/ASP.NET-MVC-CourseProject | EntertainmentSystem/Data/EntertainmentSystem.Data.Common/Repositories/DbRepository{T}.cs | EntertainmentSystem/Data/EntertainmentSystem.Data.Common/Repositories/DbRepository{T}.cs | namespace EntertainmentSystem.Data.Common
{
using System;
using System.Data.Entity;
using System.Linq;
using Models;
using Repositories;
public class DbRepository<T> : IDbRepository<T>
where T : class, IAuditInfo, IDeletableEntity
{
public DbRepository(DbContext context)
... | namespace EntertainmentSystem.Data.Common
{
using System;
using System.Data.Entity;
using System.Linq;
using Models;
using Repositories;
public class DbRepository<T> : IDbRepository<T>
where T : class, IAuditInfo, IDeletableEntity
{
public DbRepository(DbContext context)
... | mit | C# |
e7783f6ab2c4edbf3ac734859bc7b40ef4c99157 | fix typo | Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnetcore | test/MVCFramework45.FunctionalTests/Views/_ViewImports.cshtml | test/MVCFramework45.FunctionalTests/Views/_ViewImports.cshtml | @using MVCFramework45.FunctionalTests
@using MVCFramework45.FunctionalTests.Models
@using MVCFramework45.FunctionalTests.Models.AccountViewModels
@using MVCFramework45.FunctionalTests.Models.ManageViewModels
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| Moi@using MVCFramework45.FunctionalTests
@using MVCFramework45.FunctionalTests.Models
@using MVCFramework45.FunctionalTests.Models.AccountViewModels
@using MVCFramework45.FunctionalTests.Models.ManageViewModels
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| mit | C# |
69e066ff4e1cdc304b74ac9860ac10d4c51f7385 | Fix DiscordChannel.IsGuildChannel returning false for news and store channels | BundledSticksInkorperated/Discore | src/Discore/DiscordChannel.cs | src/Discore/DiscordChannel.cs | using Discore.Http;
using System.Threading.Tasks;
namespace Discore
{
/// <summary>
/// A <see cref="DiscordDMChannel"/> or a <see cref="DiscordGuildChannel"/>.
/// </summary>
public abstract class DiscordChannel : DiscordIdEntity
{
/// <summary>
/// Gets the type of this channel.
... | using Discore.Http;
using System.Threading.Tasks;
namespace Discore
{
/// <summary>
/// A <see cref="DiscordDMChannel"/> or a <see cref="DiscordGuildChannel"/>.
/// </summary>
public abstract class DiscordChannel : DiscordIdEntity
{
/// <summary>
/// Gets the type of this channel.
... | mit | C# |
4fd4b4f6f37c134a97ac8bbc878a9a7e04b89791 | Add method to AudioHelpers to get a random file from a sound collection | space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content | Content.Shared/Audio/AudioHelpers.cs | Content.Shared/Audio/AudioHelpers.cs | using System;
using Content.Shared.GameObjects.Components.Sound;
using Robust.Client.GameObjects.EntitySystems;
using Robust.Shared.Audio;
using Robust.Shared.GameObjects;
using Robust.Shared.Interfaces.GameObjects;
using Robust.Shared.Interfaces.Random;
using Robust.Shared.IoC;
using Robust.Shared.Log;
using Robust.Sh... | using System;
using Content.Shared.GameObjects.Components.Sound;
using Robust.Shared.Audio;
using Robust.Shared.GameObjects;
using Robust.Shared.Interfaces.Random;
using Robust.Shared.IoC;
using Robust.Shared.Log;
using Robust.Shared.Random;
namespace Content.Shared.Audio
{
public static class AudioHelpers{
... | mit | C# |
e7ab2f3e5f4f4bd3ea1fa81607fbf92fb015041f | Add regression test for nullable array return value | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1011CSharp8UnitTests.cs | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1011CSharp8UnitTests.cs | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using System.Threading;
using System.Threading.Tasks;
using Microsoft.... | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using System.Threading;
using System.Threading.Tasks;
using Microsoft.... | mit | C# |
309045f58d6208fb98d3ef61383593679a9331a8 | リフレッシュ後にグループリストをリロードするようにした。 | finalstream/Movselex,finalstream/Movselex,finalstream/Movselex | Movselex.Core/Models/Actions/UpdateLibraryAction.cs | Movselex.Core/Models/Actions/UpdateLibraryAction.cs | namespace Movselex.Core.Models.Actions
{
internal class UpdateLibraryAction : MovselexProgressAction
{
public override void InvokeProgress(MovselexClient client)
{
client.LibraryUpdater.Update(client.ProgressInfo);
client.MovselexGroup.Load();
}
}
} | namespace Movselex.Core.Models.Actions
{
internal class UpdateLibraryAction : MovselexProgressAction
{
public override void InvokeProgress(MovselexClient client)
{
client.LibraryUpdater.Update(client.ProgressInfo);
}
}
} | mit | C# |
14878d23d94e12500c3d4d99c15cd21e2119f6e6 | Remove the .NET 3.5 specific Stream.CopyTo() extension method | akamsteeg/SwissArmyKnife | src/SwissArmyKnife/Extensions/StreamExtensions.cs | src/SwissArmyKnife/Extensions/StreamExtensions.cs | using System;
using System.IO;
namespace SwissArmyKnife.Extensions
{
/// <summary>
/// Extension methods for <see cref="Stream"/>
/// </summary>
public static class StreamExtensions
{
/// <summary>
/// Reset the position within the stream
/// back to the beginning
... | using System;
using System.IO;
namespace SwissArmyKnife.Extensions
{
/// <summary>
/// Extension methods for <see cref="Stream"/>
/// </summary>
public static class StreamExtensions
{
#if NET35 // || DEBUG
/// 81920 is the largest multiple of 4096 that's
/// smaller than 85900 by... | mit | C# |
df68ff9644a1020170cfe4b301b314ba21f99ecb | Remove lie from event documentation | tgstation/tgstation-server,Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server | src/Tgstation.Server.Host/Components/EventType.cs | src/Tgstation.Server.Host/Components/EventType.cs | namespace Tgstation.Server.Host.Components
{
/// <summary>
/// Types of events
/// </summary>
public enum EventType
{
/// <summary>
/// Parameters: Reference name, commit sha
/// </summary>
RepoResetOrigin = 0,
/// <summary>
/// Parameters: Checkout target
/// </summary>
RepoCheckout = 1,
/// <... | namespace Tgstation.Server.Host.Components
{
/// <summary>
/// Types of events
/// </summary>
public enum EventType
{
/// <summary>
/// Parameters: Reference name, commit sha
/// </summary>
RepoResetOrigin = 0,
/// <summary>
/// Parameters: Checkout target
/// </summary>
RepoCheckout = 1,
/// <... | agpl-3.0 | C# |
8a41298e01b276408b02e5f186d7c697c3422ce7 | Fix link to resource page; update year to 2018. | tf3604/SqlServerQueryTreeViewer | SqlServerQueryTreeViewer/Properties/AssemblyInfo.cs | SqlServerQueryTreeViewer/Properties/AssemblyInfo.cs | // Copyright(c) 2016-2017-2017 Brian Hansen.
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merg... | // Copyright(c) 2016-2017-2017 Brian Hansen.
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merg... | mit | C# |
e1c9ab64088eef67fd7f1b539d9c3b6aeff26dcd | Fix update checker | DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer | LmpClient/Utilities/UpdateHandler.cs | LmpClient/Utilities/UpdateHandler.cs | using LmpClient.Windows.Update;
using LmpCommon;
using LmpGlobal;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.Networking;
namespace LmpClient.Utilities
{
public static class UpdateHandler
{
public static IEnumerator CheckForUpdates()
{
... | using LmpClient.Windows.Update;
using LmpCommon;
using LmpGlobal;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.Networking;
namespace LmpClient.Utilities
{
public static class UpdateHandler
{
public static IEnumerator CheckForUpdates()
{
... | mit | C# |
86dfc9e440b8f9baaabd327b64b0ef71d76e9e36 | Refactor Elevator to use Dictionary | jmeas/simple-tower | Assets/Scripts/Elevator.cs | Assets/Scripts/Elevator.cs | public class Elevator : UnityEngine.MonoBehaviour {
CinematicMode cinematicMode;
UnityEngine.GameObject player;
// The time it takes the elevator to move up or down, in seconds
float transitionDuration = 1.5f;
// This is the difference in the elevator and player's y position
float playerHeightDiff = 0.063... | public class Elevator : UnityEngine.MonoBehaviour {
CinematicMode cinematicMode;
UnityEngine.GameObject player;
// The time it takes the elevator to move up or down, in seconds
float transitionDuration = 1.5f;
// This is the difference in the elevator and player's y position
float playerHeightDiff = 0.063... | mit | C# |
6e630737c12095335bd91408f1de91ea704029db | Fix algorithm not selected when adding a custom coin | nwoolls/MultiMiner,IWBWbiz/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner | MultiMiner.Win/Forms/CoinEditForm.cs | MultiMiner.Win/Forms/CoinEditForm.cs | using MultiMiner.Engine.Data;
using MultiMiner.Utility.Forms;
using MultiMiner.Xgminer.Data;
using MultiMiner.Win.Extensions;
using System;
using MultiMiner.Engine;
namespace MultiMiner.Win.Forms
{
public partial class CoinEditForm : MessageBoxFontForm
{
private readonly CryptoCoin cryptoCoin;
... | using MultiMiner.Engine.Data;
using MultiMiner.Utility.Forms;
using MultiMiner.Xgminer.Data;
using MultiMiner.Win.Extensions;
using System;
using MultiMiner.Engine;
namespace MultiMiner.Win.Forms
{
public partial class CoinEditForm : MessageBoxFontForm
{
private readonly CryptoCoin cryptoCoin;
... | mit | C# |
fa6f61bd326bc71e39a67177233057f4ea708a58 | Delete comment | bigfont/StackOverflow,bigfont/StackOverflow,bigfont/StackOverflow,bigfont/StackOverflow | AspNetCoreUriToAssoc/Startup.cs | AspNetCoreUriToAssoc/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
namespace AspNetCoreUriToAssoc
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddMvc()
.AddMvcOpti... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
namespace AspNetCoreUriToAssoc
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddMvc()
.AddMvcOpti... | mit | C# |
f4d6eadf7be551e8d037313fe3cd1ea4b4fa6c1f | Add dataTransferManager to Windows app. | wangjun/windows-app,wangjun/windows-app | wallabag/wallabag.Windows/Views/ItemPage.xaml.cs | wallabag/wallabag.Windows/Views/ItemPage.xaml.cs | using System;
using wallabag.Common;
using wallabag.ViewModel;
using Windows.ApplicationModel.DataTransfer;
using Windows.System;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace wallabag.Views
{
public sealed partial class ItemPage : basicPage
{
public ItemPage()
{
... | using System;
using wallabag.Common;
using wallabag.ViewModel;
using Windows.ApplicationModel.DataTransfer;
using Windows.System;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace wallabag.Views
{
public sealed partial class ItemPage : basicPage
{
public ItemPage()
{
... | mit | C# |
c3cc41b1123247dbaf59dbda615f308439344658 | Use DiplomContext in DI container | denismaster/dcs,denismaster/dcs,denismaster/dcs,denismaster/dcs | src/Diploms.WebUI/Startup.cs | src/Diploms.WebUI/Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Diploms.DataLayer;
using Diploms.WebUI.Configuration;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.SpaServices.Webpack;
using Microsoft.Extensions.Configuration;
u... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Diploms.WebUI.Configuration;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.SpaServices.Webpack;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions... | mit | C# |
f158aabe70b4b9d332bbd53964f9cdca352c8bce | Update ConvertXLSFileToPDF.cs | aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,as... | Examples/CSharp/Articles/ConvertXLSFileToPDF.cs | Examples/CSharp/Articles/ConvertXLSFileToPDF.cs | using System;
using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles
{
public class ConvertXLSFileToPDF
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Example... | using System;
using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles
{
public class ConvertXLSFileToPDF
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(Syste... | mit | C# |
dbf0727c986faea694057019948a40a6af3542a5 | change version | mika-f/Sagitta | Source/Sagitta/Clients/FileClient.cs | Source/Sagitta/Clients/FileClient.cs | using System;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using Sagitta.Extensions;
namespace Sagitta.Clients
{
/// <summary>
/// 画像およびファイルへの間接的なアクセスを提供します。
/// </summary>
public class FileClient : ApiClient
{
private readonly HttpClient _httpClient;
... | using System;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using Sagitta.Extensions;
namespace Sagitta.Clients
{
/// <summary>
/// 画像およびファイルへの間接的なアクセスを提供します。
/// </summary>
public class FileClient : ApiClient
{
private readonly HttpClient _httpClient;
... | mit | C# |
28acf0ae74128d2d13cc39197ba2ad416033aa61 | Add the default constructor, eventually needed for migrations. | jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr | src/HelloWorldDbContext.cs | src/HelloWorldDbContext.cs | using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace HelloWorldApp
{
public class HelloWorldDbContext : DbContext, IHelloWorldDbContext
{
public HelloWorldDbContext()
{ }
public HelloWorldDbContext(DbContextOptions<HelloWorldDbContext> options)
... | using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace HelloWorldApp
{
public class HelloWorldDbContext : DbContext, IHelloWorldDbContext
{
public HelloWorldDbContext(DbContextOptions<HelloWorldDbContext> options)
: base(options)
{ }
public DbSet<Greet... | mit | C# |
3fb613d2af39bce9f082dde27452332606f4e99e | Fix not obfuscating correct FullName when flattening namespaces | HalidCisse/ConfuserEx,apexrichard/ConfuserEx,mirbegtlax/ConfuserEx,JPVenson/ConfuserEx,jbeshir/ConfuserEx,Desolath/ConfuserEx3,farmaair/ConfuserEx,timnboys/ConfuserEx,Desolath/Confuserex,MetSystem/ConfuserEx,KKKas/ConfuserEx,AgileJoshua/ConfuserEx,arpitpanwar/ConfuserEx,HalidCisse/ConfuserEx,mirbegtlax/ConfuserEx,yulig... | Confuser.Renamer/RenamePhase.cs | Confuser.Renamer/RenamePhase.cs | using System.Collections.Generic;
using System.Linq;
using Confuser.Core;
using dnlib.DotNet;
namespace Confuser.Renamer {
internal class RenamePhase : ProtectionPhase {
public RenamePhase(NameProtection parent)
: base(parent) { }
public override ProtectionTargets Targets {
get { return ProtectionTargets.... | using System.Collections.Generic;
using System.Linq;
using Confuser.Core;
using dnlib.DotNet;
namespace Confuser.Renamer {
internal class RenamePhase : ProtectionPhase {
public RenamePhase(NameProtection parent)
: base(parent) { }
public override ProtectionTargets Targets {
get { return ProtectionTargets.... | mit | C# |
7d0227426566cb502ef03a8035486d6ec8f14c69 | migrate and seed on startup | tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web | src/Tugberk.Web/Startup.cs | src/Tugberk.Web/Startup.cs | using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Routing;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Tugberk.Persistance.Abstract... | using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Routing;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Tugberk.Persistance.Abstractions;
using Tugberk.Persistance.InMe... | agpl-3.0 | C# |
eed0ba16abf8e7dd9d2d5e32a678a8e4fb3ebc57 | Bump version 1.1.0 | tugberkugurlu/Owin.Limits,damianh/LimitsMiddleware,damianh/LimitsMiddleware | src/SharedAssemblyInfo.cs | src/SharedAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Damian Hickey")]
[assembly: AssemblyProduct("Owin.Limits")]
[assembly: AssemblyCopyright("Copyright © Damian Hickey 2014")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.1.0.0")... | using System.Reflection;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Damian Hickey")]
[assembly: AssemblyProduct("Owin.Limits")]
[assembly: AssemblyCopyright("Copyright © Damian Hickey 2013")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.0.2.0")... | mit | C# |
c822b83eb05efa62b497f961a2d26cc234957b8e | Add nullcheck | effekseer/Effekseer,effekseer/Effekseer,effekseer/Effekseer,effekseer/Effekseer,effekseer/Effekseer,effekseer/Effekseer,effekseer/Effekseer | Dev/Editor/Effekseer/GUI/ThumbnailManager.cs | Dev/Editor/Effekseer/GUI/ThumbnailManager.cs | using Effekseer.swig;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Effekseer.GUI
{
class Thumbnail
{
public swig.ImageResource Image = null;
}
class ThumbnailManager
{
class IOCallback : swig.IOCallback
{
public override void OnFileChanged(StaticFileTy... | using Effekseer.swig;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Effekseer.GUI
{
class Thumbnail
{
public swig.ImageResource Image = null;
}
class ThumbnailManager
{
class IOCallback : swig.IOCallback
{
public override void OnFileChanged(StaticFileTy... | mit | C# |
1f40845a917c20459d9a0594478393fa092cb0bf | Fix doc comment | skizzerz/DiceRoller | DiceRoller/MacroContext.cs | DiceRoller/MacroContext.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dice
{
/// <summary>
/// Contains the context of a macro execution, to be filled out
/// by the function which is responsible for executing the macro.
/// </summary>
public... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dice
{
/// <summary>
/// Contains the context of a macro execution, to be filled out
/// by the function which is responsible for executing the macro.
/// </summary>
public... | mit | C# |
a73949f714b261f3347d4700bab8d6efe46d0db4 | Check for ERROR anywhere in the response | mycroes/SupportManager,mycroes/SupportManager,mycroes/SupportManager | MYCroes.ATCommands/ATCommand.cs | MYCroes.ATCommands/ATCommand.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace MYCroes.ATCommands
{
public class ATCommand
{
private const string AT_OK = "OK";
private const string AT_ERROR = "ERROR";
public string Command { get; }
public IEnumerable<ATCommandArgument> Argume... | using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace MYCroes.ATCommands
{
public class ATCommand
{
private const string AT_OK = "OK";
private const string AT_ERROR = "ERROR";
public string Command { get; }
public IEnumerable<ATCommandArgument> Argume... | mit | C# |
2b011871409fbfd7b44438817934cf4c461d967d | Update VotingRequest.cs | bdjukic/glasajDijasporo,bdjukic/glasajDijasporo,bdjukic/glasajDijasporo | GlasajDijasporo/GlasajDijasporoService/Models/VotingRequest.cs | GlasajDijasporo/GlasajDijasporoService/Models/VotingRequest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace GlasajDijasporoService.Model
{
public class VotingRequest
{
public string FirstLastName { get; set; }
public string BirthPlace { get; set; }
public string BirthDate { get; set; }
publ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace GlasajDijasporoService.Model
{
public class VotingRequest
{
public string FirstLastName { get; set; }
public string BirthPlaceDate { get; set; }
public string Gender { get; set; }
pub... | apache-2.0 | C# |
46d9eb13069e83a23f844648cfb2f98d684aa1d8 | Package update | Azure/azure-iot-hub-vs-cs,Azure/azure-iot-hub-vs-cs,Azure/azure-iot-hub-vs-cs | AzureIoTHubConnectedServiceLibrary/Handler.CSharp.WAC.cs | AzureIoTHubConnectedServiceLibrary/Handler.CSharp.WAC.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See license.txt file in the project root for full license information.
using System;
using Microsoft.VisualStudio.ConnectedServices;
namespace AzureIoTHubConnectedService
{
[ConnectedServiceHandlerExport("Microsoft.AzureIoTHubSer... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See license.txt file in the project root for full license information.
using System;
using Microsoft.VisualStudio.ConnectedServices;
namespace AzureIoTHubConnectedService
{
[ConnectedServiceHandlerExport("Microsoft.AzureIoTHubSer... | mit | C# |
d1c480c197eee7e1d2e367b19759efedc1e0cbef | fix test for Sitecore 7 (Old JObject version) | dharnitski/Sitecore.Algolia | Score.ContentSearch.Algolia.Tests/AlgoliaUpdateContextTests.cs | Score.ContentSearch.Algolia.Tests/AlgoliaUpdateContextTests.cs | using System.Collections.Generic;
using System.Linq;
using Moq;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
using Score.ContentSearch.Algolia.Abstract;
using Sitecore.ContentSearch;
using Sitecore.ContentSearch.Linq.Common;
namespace Score.ContentSearch.Algolia.Tests
{
[TestFixture]
public class Algoli... | using System.Collections.Generic;
using System.Linq;
using Moq;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
using Score.ContentSearch.Algolia.Abstract;
using Sitecore.ContentSearch;
using Sitecore.ContentSearch.Linq.Common;
namespace Score.ContentSearch.Algolia.Tests
{
[TestFixture]
public class Algoli... | mit | C# |
ab347a38b9a33151fe1f887319c756c1a0aecd75 | Put Linfu's proxyfactory as a (static) field making it more visible it caches the proxytypes. | RogerKratz/mbcache | MbCache.ProxyImpl.LinFu/LinfuProxyFactory.cs | MbCache.ProxyImpl.LinFu/LinfuProxyFactory.cs | using System;
using LinFu.DynamicProxy;
using MbCache.Configuration;
using MbCache.Core;
using MbCache.Logic;
namespace MbCache.ProxyImpl.LinFu
{
[Serializable]
public class LinFuProxyFactory : IProxyFactory
{
private CacheAdapter _cache;
private ICacheKey _cacheKey;
private ILockObjectGenerator ... | using System;
using LinFu.DynamicProxy;
using MbCache.Configuration;
using MbCache.Core;
using MbCache.Logic;
namespace MbCache.ProxyImpl.LinFu
{
[Serializable]
public class LinFuProxyFactory : IProxyFactory
{
private CacheAdapter _cache;
private ICacheKey _cacheKey;
private ILockObjectGenerator ... | mit | C# |
6319d4f3690fbd19fcbfa0a46fed2ea6470edb65 | Fix unit test for changed implementation | charlenni/Mapsui,charlenni/Mapsui | Tests/Mapsui.Nts.Tests/Extensions/CoordinateExtensionsTests.cs | Tests/Mapsui.Nts.Tests/Extensions/CoordinateExtensionsTests.cs | using System.Collections.Generic;
using NetTopologySuite.Geometries;
using NUnit.Framework;
using Mapsui.Nts.Extensions;
using System;
namespace Mapsui.Nts.Tests;
[TestFixture]
public class CoordinateExtensionsTests
{
[Test]
public void ToLineStringShouldNotThrowWhenCoordinatesIsEmpty()
{
// Arra... | using System.Collections.Generic;
using NetTopologySuite.Geometries;
using NUnit.Framework;
using Mapsui.Nts.Extensions;
using System;
namespace Mapsui.Nts.Tests;
[TestFixture]
public class CoordinateExtensionsTests
{
[Test]
public void CoordinateExtensionsShouldThrow()
{
// Arrange
IEnum... | mit | C# |
6d86ff307eea5240866545ab4cb363dd2b402fcc | Fix version bump | zumicts/Audiotica | Apps/Audiotica.WindowsPhone/View/HomePage.xaml.cs | Apps/Audiotica.WindowsPhone/View/HomePage.xaml.cs | #region
using Windows.Storage;
using Windows.UI.Popups;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Navigation;
using Audiotica.Data.Collection;
using Audiotica.Data.Collection.SqlHelper;
using Microsoft.Xbox.Music.Platform.Contract.DataModel;
#endregion
namespace Audiotica.Vi... | #region
using Windows.Storage;
using Windows.UI.Popups;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Navigation;
using Audiotica.Data.Collection;
using Audiotica.Data.Collection.SqlHelper;
using Microsoft.Xbox.Music.Platform.Contract.DataModel;
#endregion
namespace Audiotica.Vi... | apache-2.0 | C# |
93124f14bce33787adbe09eb75eae2bc9057ef6e | Fix cast error. | FamilySearch/gedcomx-csharp,shanewalters/gedcomx-csharp,weitzhandler/gedcomx-csharp | FamilySearch.Api/Memories/FamilySearchMemories.cs | FamilySearch.Api/Memories/FamilySearchMemories.cs | using Gx.Rs.Api;
using RestSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Gx.Rs.Api.Util;
using FamilySearch.Api.Ft;
using Gedcomx.Support;
namespace FamilySearch.Api.Memories
{
public class FamilySearchMemories : FamilySearchCollec... | using Gx.Rs.Api;
using RestSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Gx.Rs.Api.Util;
using FamilySearch.Api.Ft;
using Gedcomx.Support;
namespace FamilySearch.Api.Memories
{
public class FamilySearchMemories : FamilySearchCollec... | apache-2.0 | C# |
a415661a9f8d07725a273deaae4e4a52e87268b4 | Write the AR Codes using String Interpolation | CryZe/GekkoAssembler | GekkoAssembler/ActionReplay/ActionReplayWriter.cs | GekkoAssembler/ActionReplay/ActionReplayWriter.cs | using System;
using System.IO;
using GekkoAssembler.IntermediateRepresentation;
namespace GekkoAssembler.ActionReplay
{
public class ActionReplayWriter : IIRUnitVisitor
{
public Stream Stream { get; }
private readonly StreamWriter writer;
public ActionReplayWriter(Stream stream)
... | using System;
using System.IO;
using GekkoAssembler.IntermediateRepresentation;
namespace GekkoAssembler.ActionReplay
{
public class ActionReplayWriter : IIRUnitVisitor
{
public Stream Stream { get; }
private readonly StreamWriter writer;
public ActionReplayWriter(Stream stream)
... | mit | C# |
bd37216fce6c13204c7d4edc4b70dc40109797cf | Set test version to auto increment | alexmaris/simplezipcode | SimpleZipeCode.Tests/Properties/AssemblyInfo.cs | SimpleZipeCode.Tests/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Si... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Si... | mit | C# |
3cd203699b485067d79eed122e27fd822895e695 | Apply beatmap converter mods in PerformanceCalculator | smoogipoo/osu,johnneijzen/osu,UselessToucan/osu,peppy/osu,ZLima12/osu,smoogipoo/osu,2yangk23/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,naoey/osu,peppy/osu,NeoAdonis/osu,DrabWeb/osu,ZLima12/osu,peppy/osu,Nabile-Rahmani/osu,NeoAdonis/osu,DrabWeb/osu,peppy/osu-new,2yangk23/osu,EVAST9919/osu,ppy/osu,NeoAdonis/osu,johnne... | osu.Game/Rulesets/Scoring/PerformanceCalculator.cs | osu.Game/Rulesets/Scoring/PerformanceCalculator.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using System.Linq;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Objects;
namespace osu.Game... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Objects;
namespace osu.Game.Rulesets.Scoring
{
public abstract class Per... | mit | C# |
1ca93891109d0eb95532295c78e260545ff6565b | Update class to inherite from Settings.ProgramSource | qianlifeng/Wox,qianlifeng/Wox,Wox-launcher/Wox,qianlifeng/Wox,Wox-launcher/Wox | Plugins/Wox.Plugin.Program/Views/Models/ProgramSource.cs | Plugins/Wox.Plugin.Program/Views/Models/ProgramSource.cs |
namespace Wox.Plugin.Program.Views.Models
{
public class ProgramSource : Settings.ProgramSource { }
}
| using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Wox.Plugin.Program.Views.Models
{
public class ProgramSource
{
private string name;
public string Location { get; set; }
public string Name { ... | mit | C# |
58fe4d78ff274a513669979a7e37aa2facdeb8dd | Mark undocumented endpoints with Obsolete | nozzlegear/ShopifySharp,addsb/ShopifySharp,clement911/ShopifySharp | ShopifySharp/Services/Checkout/CheckoutService.cs | ShopifySharp/Services/Checkout/CheckoutService.cs | using Newtonsoft.Json.Linq;
using System.Net.Http;
using ShopifySharp.Filters;
using System.Collections.Generic;
using System.Threading.Tasks;
using ShopifySharp.Infrastructure;
using System;
namespace ShopifySharp
{
/// <summary>
/// A service for manipulating Shopify orders.
/// </summary>
public cl... | using Newtonsoft.Json.Linq;
using System.Net.Http;
using ShopifySharp.Filters;
using System.Collections.Generic;
using System.Threading.Tasks;
using ShopifySharp.Infrastructure;
namespace ShopifySharp
{
/// <summary>
/// A service for manipulating Shopify orders.
/// </summary>
public class CheckoutSe... | mit | C# |
835d684c579c3e3d623aec5ce577b3c639a8ccd1 | create action method in player api controller for retrieve the players stats | yoliva/game-of-drones,yoliva/game-of-drones,yoliva/game-of-drones | Source/GameOfDrones.API/Controllers/PlayersController.cs | Source/GameOfDrones.API/Controllers/PlayersController.cs | using System.Linq;
using System.Web.Http;
using GameOfDrones.Domain.Entities;
using GameOfDrones.Domain.Enums;
using GameOfDrones.Domain.Repositories;
namespace GameOfDrones.API.Controllers
{
[RoutePrefix("api/v1/players")]
public class PlayersController : ApiController
{
private readonly IGameOfD... | using System.Web.Http;
using GameOfDrones.Domain.Entities;
using GameOfDrones.Domain.Repositories;
namespace GameOfDrones.API.Controllers
{
[RoutePrefix("api/v1/players")]
public class PlayersController : ApiController
{
private readonly IGameOfDronesRepository _gameOfDronesRepository;
pu... | mit | C# |
f26105e9c5574e2a63f5c30a16fe6b34b452c703 | Fix archiving tests on Linux | sillsdev/libpalaso,gtryus/libpalaso,glasseyes/libpalaso,gmartin7/libpalaso,gmartin7/libpalaso,glasseyes/libpalaso,ermshiperete/libpalaso,glasseyes/libpalaso,tombogle/libpalaso,andrew-polk/libpalaso,tombogle/libpalaso,ermshiperete/libpalaso,ermshiperete/libpalaso,andrew-polk/libpalaso,sillsdev/libpalaso,tombogle/libpala... | SIL.Archiving/Generic/ArchivingFileSystem.cs | SIL.Archiving/Generic/ArchivingFileSystem.cs |
using System;
using System.IO;
namespace SIL.Archiving.Generic
{
/// <summary />
public static class ArchivingFileSystem
{
internal const string kAccessProtocolFolderName = "Archiving";
/// <summary />
public static string SilCommonDataFolder
{
get
{
// On Linux we have to use /var/lib (inste... |
using System;
using System.IO;
namespace SIL.Archiving.Generic
{
/// <summary />
public static class ArchivingFileSystem
{
internal const string kAccessProtocolFolderName = "Archiving";
/// <summary />
public static string SilCommonDataFolder
{
get
{
// On Linux we have to use /var/lib (inste... | mit | C# |
a001b6b44217dc7ecf23ee859edd51844f03c03e | test fix | ACEmulator/ACE,ACEmulator/ACE,ACEmulator/ACE,LtRipley36706/ACE,LtRipley36706/ACE,Lidefeath/ACE,LtRipley36706/ACE | Source/ACE.Server.Tests/SkillFormulaTests.cs | Source/ACE.Server.Tests/SkillFormulaTests.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using ACE.Server.WorldObjects.Entity;
namespace ACE.Server.Tests
{
[TestClass]
public class SkillFormulaTests
{
[TestMethod]
public void FiftyFiftyIsAccurate()
{
var result = CreatureSkill.GetPercentSuccess(100, 100);
... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using ACE.Entity;
namespace ACE.Server.Tests
{
[TestClass]
public class SkillFormulaTests
{
[TestMethod]
public void FiftyFiftyIsAccurate()
{
var result = CreatureSkillOld.GetPercentSuccess(100, 100);
Asser... | agpl-3.0 | C# |
43626573df0308b599d32499feb65458dc883277 | Fix combo break sounds playing when seeking | NeoAdonis/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu | osu.Game/Screens/Play/ComboEffects.cs | osu.Game/Screens/Play/ComboEffects.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.Containers;
using osu.Game.Audio;
using osu.Game.Configuration;
using osu.Game... | // 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.Containers;
using osu.Game.Audio;
using osu.Game.Configuration;
using osu.Game... | mit | C# |
54e1a74452761daeeded46b0d7dd88494711f62c | Add xmldoc to ITransformable methods | peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework | osu.Framework/Graphics/Transforms/ITransformable.cs | osu.Framework/Graphics/Transforms/ITransformable.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Allocation;
using osu.Framework.Timing;
namespace osu.Framework.Graphics.Transforms
{
public interface ITransformable
{
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Timing;
namespace osu.Framework.Graphics.Transforms
{
public interface ITransformable
{
IDisposable BeginDelayedSequen... | mit | C# |
e1052d8b1414eef3f4a20d9a0e46f760f60f320e | Fix closing bracket. | clicketyclack/gtksharp_clock | gtksharp_clock/Properties/AssemblyInfo.cs | gtksharp_clock/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("gtksharp_clock")]
[assembly: AssemblyDescription("Simple analog clock in GTK-C#")]
[assembly: As... | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("gtksharp_clock")]
[assembly: AssemblyDescription("Simple analog clock in GTK-C#")]
[assembly: As... | mit | C# |
0ccb08c9c8e2be0632e091c5795285297791517b | Make fullname optional for receiver | aduggleby/dragon,aduggleby/dragon,jbinder/dragon,jbinder/dragon,jbinder/dragon,aduggleby/dragon | proj/Mail/Dragon.Mail/Impl/DefaultReceiverMapper.cs | proj/Mail/Dragon.Mail/Impl/DefaultReceiverMapper.cs | using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dragon.Mail.Interfaces;
namespace Dragon.Mail.Impl
{
public class DefaultReceiverMapper : IReceiverMapper
{
public void Map(dynamic receiver, Models.Mail mail... | using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dragon.Mail.Interfaces;
namespace Dragon.Mail.Impl
{
public class DefaultReceiverMapper : IReceiverMapper
{
public void Map(dynamic receiver, Models.Mail mail... | mit | C# |
b167dbde9f27dddc6d4f6797f6129d05b1908cbf | fix error name. | ouraspnet/cap,dotnetcore/CAP,dotnetcore/CAP,dotnetcore/CAP | src/DotNetCore.CAP.Kafka/CAP.Options.Extensions.cs | src/DotNetCore.CAP.Kafka/CAP.Options.Extensions.cs | using System;
using DotNetCore.CAP;
// ReSharper disable once CheckNamespace
namespace Microsoft.Extensions.DependencyInjection
{
public static class CapOptionsExtensions
{
public static CapOptions UseKafka(this CapOptions options, string bootstrapServers)
{
return options.UseKafka... | using System;
using DotNetCore.CAP;
// ReSharper disable once CheckNamespace
namespace Microsoft.Extensions.DependencyInjection
{
public static class CapOptionsExtensions
{
public static CapOptions UseKafka(this CapOptions options, string bootstrapServers)
{
return options.UseRabbi... | mit | C# |
096ca6c6d7e6e4d6fdf7e0712a6ce3256bb44901 | Update Test Class Name | JoeBurns27/FactoryByReflection | src/Security/Factory/Test/SecurityFactoryTests2.cs | src/Security/Factory/Test/SecurityFactoryTests2.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Jebur27.Security;
using Jebur27.FactoryBase.Exceptions;
using Jebur27.Security.Factory;
using Jebur27.Security.Interfaces;
using Jebur27.Security.Factory;
namespace Test
{
[TestClass]
public class SecurityFactoryTests2
{
[Test... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Jebur27.Security;
using Jebur27.FactoryBase.Exceptions;
using Jebur27.Security.Factory;
using Jebur27.Security.Interfaces;
using Jebur27.Security.Factory;
namespace Test
{
[TestClass]
public class UnitTest1
{
[TestMethod]
... | mit | C# |
d4d930ca34739e851ea9c986cc4354f20c468e97 | Fix IdleTaskQueueTest | AlexanderSher/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,MikhailArkhipo... | src/Windows/Editor/Test/Properties/AssemblyInfo.cs | src/Windows/Editor/Test/Properties/AssemblyInfo.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.UnitTests.Core.Threading;
using Microsoft.UnitTests.Core.XUnit;
[assembly: TestFrameworkOverride]
[assembly: VsAssemblyLoader]
[assembly: AssemblyFi... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.Common.Core.Test.Fixtures;
using Microsoft.UnitTests.Core.XUnit;
[assembly: TestFrameworkOverride]
[assembly: VsAssemblyLoader] | mit | C# |
96dd5f98ed02513037009c6804ff860dffef22ba | change backing field to resolve net core serializer problem | trenoncourt/AutoQueryable | src/AutoQueryable/Extensions/TypeBuilderExtension.cs | src/AutoQueryable/Extensions/TypeBuilderExtension.cs | using System;
using System.Reflection;
using System.Reflection.Emit;
namespace AutoQueryable.Extensions
{
public static class TypeBuilderExtension
{
private static void AddProperty(this TypeBuilder typeBuilder, string propName, PropertyAttributes attributes, Type propertyType) {
const Meth... | using System;
using System.Reflection;
using System.Reflection.Emit;
namespace AutoQueryable.Extensions
{
public static class TypeBuilderExtension
{
private static void AddProperty(this TypeBuilder typeBuilder, string propName, PropertyAttributes attributes, Type propertyType) {
const Meth... | mit | C# |
156f5f6723e6e7ffb00909e8115b976fa7a9da3b | Fix for https://github.com/fluentmigrator/fluentmigrator/issues/957. | spaccabit/fluentmigrator,schambers/fluentmigrator,igitur/fluentmigrator,schambers/fluentmigrator,fluentmigrator/fluentmigrator,eloekset/fluentmigrator,fluentmigrator/fluentmigrator,stsrki/fluentmigrator,stsrki/fluentmigrator,amroel/fluentmigrator,eloekset/fluentmigrator,amroel/fluentmigrator,spaccabit/fluentmigrator,ig... | src/FluentMigrator.Runner/MigrationScopeHandler.cs | src/FluentMigrator.Runner/MigrationScopeHandler.cs | #region License
//
// Copyright (c) 2018, Fluent Migrator Project
//
// 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 ... | #region License
//
// Copyright (c) 2018, Fluent Migrator Project
//
// 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 ... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.