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 |
|---|---|---|---|---|---|---|---|---|
a69adef5412ed5b8b3b77efa38f2c80e6114f05c | Remove Console debug output | bbqchickenrobot/rethinkdb-net,kangkot/rethinkdb-net,bbqchickenrobot/rethinkdb-net,kangkot/rethinkdb-net,nkreipke/rethinkdb-net,LukeForder/rethinkdb-net,nkreipke/rethinkdb-net,Ernesto99/rethinkdb-net,LukeForder/rethinkdb-net,Ernesto99/rethinkdb-net | rethinkdb-net/DatumConverters/DatumConverterFactoryExtensions.cs | rethinkdb-net/DatumConverters/DatumConverterFactoryExtensions.cs | using System;
namespace RethinkDb
{
public static class DatumConverterFactoryExtensions
{
public static bool TryGet<T>(this IDatumConverterFactory datumConverterFactory, out IDatumConverter<T> datumConverter)
{
return datumConverterFactory.TryGet<T>(datumConverterFactory, out datumC... | using System;
namespace RethinkDb
{
public static class DatumConverterFactoryExtensions
{
public static bool TryGet<T>(this IDatumConverterFactory datumConverterFactory, out IDatumConverter<T> datumConverter)
{
return datumConverterFactory.TryGet<T>(datumConverterFactory, out datumC... | apache-2.0 | C# |
99ae3595c3fac6b0c3e01abba5561776415ff3e1 | change to assemblyinfo.cs | TrueNorthIT/Elmah | TrueNorth.Elmah/Properties/AssemblyInfo.cs | TrueNorth.Elmah/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("Tr... | 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("Tr... | mit | C# |
ecd6f48ddd64efa751bccfcbc19499deba33fdad | Add build version autoincrement | GAnatoliy/ViewModelLoader | ViewModelLoader/Properties/AssemblyInfo.cs | ViewModelLoader/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("Vi... | 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("Vi... | mit | C# |
a6ec80d737c9b7d6fd6903f8ab8b50652bd851dd | Revert "Embedded native widgets should also participate in sizing" | residuum/xwt,TheBrainTech/xwt,iainx/xwt,steffenWi/xwt,cra0zy/xwt,hwthomas/xwt,antmicro/xwt,mono/xwt,akrisiun/xwt,hamekoz/xwt,lytico/xwt | Xwt/Xwt.Backends/IEmbeddedWidgetBackend.cs | Xwt/Xwt.Backends/IEmbeddedWidgetBackend.cs | //
// IEmbeddedWidgetBackend.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2013 Xamarin Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without re... | //
// IEmbeddedWidgetBackend.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2013 Xamarin Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without re... | mit | C# |
6425753a289f255055fd07a0a9a5a48d5191171a | Bump version to 0.7.2 | ar3cka/Journalist | src/SolutionInfo.cs | src/SolutionInfo.cs | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyProductAttribute("Journalist")]
[assembly: AssemblyVersionAttribute("0.7.2")]
[assembly: AssemblyInformationalVersionAttribute("0.7.2")]
[assembly: AssemblyFileVersionAttribute("0.7.2")]
[assembly: AssemblyCompanyAttribute("Anton Mednonogov")]
namespace... | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyProductAttribute("Journalist")]
[assembly: AssemblyVersionAttribute("0.7.1")]
[assembly: AssemblyInformationalVersionAttribute("0.7.1")]
[assembly: AssemblyFileVersionAttribute("0.7.1")]
[assembly: AssemblyCompanyAttribute("Anton Mednonogov")]
namespace... | apache-2.0 | C# |
2e0df5a339ecd4b524046fe799beeec4bb7a449c | update sample | stefangordon/GeoTiffSharp | Sample/Program.cs | Sample/Program.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using GeoTiffSharp;
namespace Sample
{
class Program
{
public const string tiff... | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using GeoTiffSharp;
namespace Sample
{
class Program
{
public const string tiff... | mit | C# |
fcc0d40be0a9e6ade35b4ccc211b9a7f9b4cc8e0 | Remove commented code | mkoscielniak/SSMScripter | SSMScripter/RunCommand.cs | SSMScripter/RunCommand.cs | using System;
using EnvDTE;
using EnvDTE80;
using Microsoft.SqlServer.Management.UI.VSIntegration;
using Microsoft.SqlServer.Management.UI.VSIntegration.Editors;
using Microsoft.VisualStudio.CommandBars;
using SSMScripter.Integration;
using SSMScripter.Properties;
using SSMScripter.Runner;
using SSMScripter.Scripter;
... | using System;
using EnvDTE;
using EnvDTE80;
using Microsoft.SqlServer.Management.UI.VSIntegration;
using Microsoft.SqlServer.Management.UI.VSIntegration.Editors;
using Microsoft.VisualStudio.CommandBars;
using SSMScripter.Integration;
using SSMScripter.Properties;
using SSMScripter.Runner;
using SSMScripter.Scripter;
... | mit | C# |
b5f5a7ac1581292af4c6a196aed093338de8661b | Rename some classes to better match the service API. | DartVS/DartVS,DartVS/DartVS,modulexcite/DartVS,DartVS/DartVS,modulexcite/DartVS,modulexcite/DartVS | DanTup.DartAnalysis/Commands/ServerVersion.cs | DanTup.DartAnalysis/Commands/ServerVersion.cs | using System;
using System.Threading.Tasks;
namespace DanTup.DartAnalysis
{
class ServerVersionRequest : Request<Response<ServerVersionResponse>>
{
public string method = "server.getVersion";
}
class ServerVersionResponse
{
public string version = null;
}
public static class ServerVersionRequestImplementa... | using System;
using System.Threading.Tasks;
namespace DanTup.DartAnalysis
{
class VersionRequest : Request<Response<VersionResponse>>
{
public string method = "server.getVersion";
}
class VersionResponse
{
public string version = null;
}
public static class VersionRequestImplementation
{
public static ... | mit | C# |
eb563d160c713dd6baf2ed89c3fae60879f03fd9 | rebuild stats now are tenant aware | selganor74/Jarvis.Framework,ProximoSrl/Jarvis.Framework,selganor74/Jarvis.Framework,selganor74/Jarvis.Framework | Jarvis.Framework.Kernel/Support/MetricsHelper.cs | Jarvis.Framework.Kernel/Support/MetricsHelper.cs | using Jarvis.Framework.Kernel.MultitenantSupport;
using Metrics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Jarvis.Framework.Kernel.Support
{
/// <summary>
/// Class to centralize metrics based on Metrics.NET
//... | using Metrics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Jarvis.Framework.Kernel.Support
{
/// <summary>
/// Class to centralize metrics based on Metrics.NET
/// </summary>
public static class MetricsHelper... | mit | C# |
70950b8267fc452f25971eb9c5599649f56ba0d0 | Remove useless code | AlexCaranha/Wox,kayone/Wox,kayone/Wox,dstiert/Wox,Megasware128/Wox,shangvven/Wox,derekforeman/Wox,derekforeman/Wox,Launchify/Launchify,qianlifeng/Wox,lances101/Wox,sanbinabu/Wox,JohnTheGr8/Wox,vebin/Wox,yozora-hitagi/Saber,qianlifeng/Wox,mika76/Wox,yozora-hitagi/Saber,lances101/Wox,apprentice3d/Wox,medoni/Wox,Wox-launc... | Wox.Plugin.System/SuggestionSources/Google.cs | Wox.Plugin.System/SuggestionSources/Google.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json.Serialization;
using Wox.Infrastructure;
using YAMP.Numerics;
namespace Wox.Plugin.System.SuggestionSources
{
public cla... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json.Serialization;
using Wox.Infrastructure;
using YAMP.Numerics;
namespace Wox.Plugin.System.SuggestionSources
{
public cla... | mit | C# |
6470b47d069889443b5c9e817467b26a56b91765 | Revert "..." | Ciber-Norge/ntnuntappd,Ciber-Norge/ntnuntappd,Ciber-Norge/ntnuntappd | CiBeer/CiBeer/CiBeer/Views/Beer/Edit.cshtml | CiBeer/CiBeer/CiBeer/Views/Beer/Edit.cshtml | @model CiBeer.Models.BeerModel
@{
ViewBag.Title = "Edit";
}
<h2>Edit</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>BeerModel</h4>
<hr />
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Html.HiddenFor(m... | @model CiBeer.Models.BeerModel
@{
ViewBag.Title = "Edit";
}
<h2>Edit</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>BeerModel</h4>
<hr />
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Html.HiddenFor(m... | apache-2.0 | C# |
36a3b145af565bafd7ca7cb47ce820a90d7cafa1 | Clean up comments in DateTimeOffsetProvider and consolidate code | chinwobble/allReady,HamidMosalla/allReady,anobleperson/allReady,anobleperson/allReady,arst/allReady,chinwobble/allReady,forestcheng/allReady,c0g1t8/allReady,MisterJames/allReady,stevejgordon/allReady,HTBox/allReady,binaryjanitor/allReady,jonatwabash/allReady,colhountech/allReady,chinwobble/allReady,forestcheng/allReady... | AllReadyApp/Web-App/AllReady/Providers/IDateTimeOffsetProvider.cs | AllReadyApp/Web-App/AllReady/Providers/IDateTimeOffsetProvider.cs | using System;
namespace AllReady.Providers
{
public interface IDateTimeOffsetProvider
{
DateTimeOffset AdjustDateTimeOffsetTo(string timeZoneId, DateTimeOffset dateTimeOffset, int hour = 0, int minute = 0, int second = 0);
DateTimeOffset AdjustDateTimeOffsetTo(TimeZoneInfo timeZoneInfo, DateTi... | using System;
namespace AllReady.Providers
{
public interface IDateTimeOffsetProvider
{
DateTimeOffset AdjustDateTimeOffsetTo(string timeZoneId, DateTimeOffset dateTimeOffset, int hour = 0, int minute = 0, int second = 0);
DateTimeOffset AdjustDateTimeOffsetTo(TimeZoneInfo timeZoneInfo, DateTi... | mit | C# |
d8d0d800c076e6a5de045cb8a095cceb42e45e25 | Update assembly version | collector-bank/common-restapi-aspnet | Collector.Common.Infrastructure.WebApi/Properties/AssemblyInfo.cs | Collector.Common.Infrastructure.WebApi/Properties/AssemblyInfo.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="Collector AB">
// Copyright © Collector AB. All rights reserved.
// </copyright>
// -------------------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="Collector AB">
// Copyright © Collector AB. All rights reserved.
// </copyright>
// -------------------------------------------------------------------... | apache-2.0 | C# |
fc69fde8d25d05505b03ccb60658f2433f627fa6 | Fix getType() when parsing commands | rit-sse-mycroft/core | Mycroft/Cmd/Command.cs | Mycroft/Cmd/Command.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;
using Mycroft.Cmd;
using Mycroft.App;
using Mycroft.Cmd.Sys;
using Mycroft.Cmd.App;
using Mycroft.Cmd.Msg;
using Mycroft.Server;
namespace Mycro... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Json;
using System.Text;
using System.Threading.Tasks;
using Mycroft.Cmd;
using Mycroft.App;
using Mycroft.Cmd.Sys;
using Mycroft.Cmd.App;
using Mycroft.Cmd.Msg;
using Mycroft.Server;
namespace Mycro... | bsd-3-clause | C# |
fb97c8bd4ec8d283eb92dc225cea8c7f5dc833fe | Make Record IComparable | StanJav/language-ext,louthy/language-ext,StefanBertels/language-ext | LanguageExt.Core/DataTypes/Record/Record.cs | LanguageExt.Core/DataTypes/Record/Record.cs | using System;
using System.Runtime.Serialization;
namespace LanguageExt
{
/// <summary>
/// Base class for types that are 'records'. A record has a set of readonly *fields(
/// that make up its data structure. By deriving from this you get structural equality,
/// structural ordering (`IComparable`)... | using System;
using System.Runtime.Serialization;
namespace LanguageExt
{
/// <summary>
/// Base class for types that are 'records'. A record has a set of readonly *fields(
/// that make up its data structure. By deriving from this you get structural equality,
/// structural ordering (`IComparable`)... | mit | C# |
a02ca290a757cd815c5ba456507f17bd6f62d16d | Correct display of spaces | magenta-aps/cprbroker,magenta-aps/cprbroker,OS2CPRbroker/cprbroker,magenta-aps/cprbroker,OS2CPRbroker/cprbroker | PART/Source/CprBroker/Web/Pages/Controls/MessageDisplayer.ascx.cs | PART/Source/CprBroker/Web/Pages/Controls/MessageDisplayer.ascx.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace CprBroker.Web.Pages.Controls
{
public partial class MessageDisplayer : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace CprBroker.Web.Pages.Controls
{
public partial class MessageDisplayer : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
... | mpl-2.0 | C# |
83de210790d7194454374f5a9e0390dec6b7ddba | Remove unused method | chris-peterson/Kekiri | src/Core/Kekiri/Impl/ReflectionExtensions.cs | src/Core/Kekiri/Impl/ReflectionExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Kekiri.Impl
{
static class ReflectionExtensions
{
public static KeyValuePair<string, object>[] BindParameters(this MethodBase method, KeyValuePair<string, object>[] supportedParameters)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Kekiri.Impl
{
static class ReflectionExtensions
{
public static TAttribute AttributeOrDefault<TAttribute>(this Type type) where TAttribute : class
{
return type.GetTypeInfo().GetCu... | mit | C# |
f640d04b29a9c71e47cbd063f27fee08f72d34e7 | Fix unit test for 2 pages initial data | 89sos98/LiteDB,falahati/LiteDB,masterdidoo/LiteDB,mbdavid/LiteDB,masterdidoo/LiteDB,RytisLT/LiteDB,falahati/LiteDB,RytisLT/LiteDB,89sos98/LiteDB | LiteDB.Tests/Database/ShrinkDatabaseTest.cs | LiteDB.Tests/Database/ShrinkDatabaseTest.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace LiteDB.Tests
{
public class LargeDoc
{
public ObjectId Id { get; set; }
p... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace LiteDB.Tests
{
public class LargeDoc
{
public ObjectId Id { get; set; }
p... | mit | C# |
c1e98f9360d3fc4ee6fd1e2333c4fbca2696c59a | Add a non-generic object cache | Microsoft/dotnet-apiport,twsouthwick/dotnet-apiport,conniey/dotnet-apiport,JJVertical/dotnet-apiport,conniey/dotnet-apiport,Microsoft/dotnet-apiport,mjrousos/dotnet-apiport,mjrousos/dotnet-apiport,conniey/dotnet-apiport,twsouthwick/dotnet-apiport,JJVertical/dotnet-apiport,Microsoft/dotnet-apiport | src/Microsoft.Fx.Portability/IObjectCache.cs | src/Microsoft.Fx.Portability/IObjectCache.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Threading.Tasks;
namespace Microsoft.Fx.Portability
{
public interface IObjectCache : IDisposable
{
Task UpdateAsync();
... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Threading.Tasks;
namespace Microsoft.Fx.Portability
{
public interface IObjectCache<TObject> : IDisposable
{
TObject Value ... | mit | C# |
7598157cf6669b7e75272174f6a294fc069f2e85 | use assembly full name in the InternalsVisibleTo attribute so that sign build will pass | herveyw/azure-sdk-for-net,jamestao/azure-sdk-for-net,AuxMon/azure-sdk-for-net,kagamsft/azure-sdk-for-net,yaakoviyun/azure-sdk-for-net,mabsimms/azure-sdk-for-net,shipram/azure-sdk-for-net,xindzhan/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,ailn/azure-sdk-for-net,shipram/azure-sdk-for-net,mihymel/azure-sdk-for-net,... | src/Search/Search/Properties/AssemblyInfo.cs | src/Search/Search/Properties/AssemblyInfo.cs | //
// Copyright (c) Microsoft. 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 applicable la... | //
// Copyright (c) Microsoft. 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 applicable la... | apache-2.0 | C# |
deaa21e2df972da792d1e815a1a75d42b8726ef1 | Update ConfigReader.cs | AnkRaiza/cordova-plugin-config-reader,AnkRaiza/cordova-plugin-config-reader,AnkRaiza/cordova-plugin-config-reader | src/wp8/ConfigReader.cs | src/wp8/ConfigReader.cs | using System;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using Microsoft.Phone.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Media;
using Windows.Storage;
using System.Diagnostics;
using System.IO;
using System.IO.IsolatedStorage;
namespace WPCordovaCl... | using System;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using Microsoft.Phone.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Media;
using Windows.Storage;
using System.Diagnostics;
using System.IO;
namespace WPCordovaClassLib.Cordova.Commands
{
pub... | mit | C# |
0bba686136ab614f4ab9be822bd572b98b248584 | Clean up RequestReader | murador/xsp,stormleoxia/xsp,stormleoxia/xsp,murador/xsp,murador/xsp,stormleoxia/xsp,stormleoxia/xsp,arthot/xsp,arthot/xsp,murador/xsp,arthot/xsp,arthot/xsp | src/Mono.WebServer.Apache/RequestReader.cs | src/Mono.WebServer.Apache/RequestReader.cs | //
// RequestReader.cs
//
// Authors:
// Daniel Lopez Ridruejo
// Gonzalo Paniagua Javier
//
// Copyright (c) 2002 Daniel Lopez Ridruejo.
// (c) 2002,2003 Ximian, Inc.
// All rights reserved.
// (C) Copyright 2004-2008 Novell, Inc. (http://www.novell.com)
//
// Permission is hereby granted, free of... | //
// RequestReader.cs
//
// Authors:
// Daniel Lopez Ridruejo
// Gonzalo Paniagua Javier
//
// Copyright (c) 2002 Daniel Lopez Ridruejo.
// (c) 2002,2003 Ximian, Inc.
// All rights reserved.
// (C) Copyright 2004-2008 Novell, Inc. (http://www.novell.com)
//
// Permission is hereby granted, free of... | mit | C# |
a24960b35bbd3ced6fd5517f02782a1213d58465 | Remove unused search | feliwir/openSage,feliwir/openSage | src/OpenSage.Game/Navigation/Navigation.cs | src/OpenSage.Game/Navigation/Navigation.cs | using System;
using System.Collections.Generic;
using System.Text;
using OpenSage.Data.Map;
namespace OpenSage.Navigation
{
class Navigation
{
Graph _graph;
public Navigation(BlendTileData tileData)
{
var width = tileData.Impassability.GetLength(0);
var height ... | using System;
using System.Collections.Generic;
using System.Text;
using OpenSage.Data.Map;
namespace OpenSage.Navigation
{
class Navigation
{
Graph _graph;
public Navigation(BlendTileData tileData)
{
var width = tileData.Impassability.GetLength(0);
var height ... | mit | C# |
9c674b9c8a350b6551dc28e038b6735fcb2a98a9 | add XML document to TheoremAttribute. | jwChung/Experimentalism,jwChung/Experimentalism | src/Experimental/TheoremAttribute.cs | src/Experimental/TheoremAttribute.cs | using Xunit;
namespace Jwc.Experimental
{
/// <summary>
/// 테스트 메소드를 가리키기 위한 어트리뷰트이며, test runner에 의해 실행된다.
/// </summary>
public class TheoremAttribute : FactAttribute
{
}
} | using Xunit;
namespace Jwc.Experimental
{
public class TheoremAttribute : FactAttribute
{
}
} | mit | C# |
1c7d65d304de1b09687254b1f27e0b9301fa1d64 | Update Arg.cs | ipjohnson/Grace | src/Grace/DependencyInjection/Arg.cs | src/Grace/DependencyInjection/Arg.cs | namespace Grace.DependencyInjection
{
/// <summary>
/// Arg helper
/// </summary>
public class Arg
{
/// <summary>
/// Any arguement of type T
/// </summary>
/// <typeparam name="T">type of arg</typeparam>
/// <returns>default T value</returns>
... | namespace Grace.DependencyInjection
{
/// <summary>
/// Arg helper
/// </summary>
public class Arg
{
/// <summary>
/// Any arguement of type T
/// </summary>
/// <typeparam name="T">type of arg</typeparam>
/// <returns>default T value</returns>
... | mit | C# |
f6a08725130ae69405e2ed86bc4a7e493704509d | Fix ordering issue | terrajobst/nquery-vnext | src/NQuery/Optimization/Optimizer.cs | src/NQuery/Optimization/Optimizer.cs | using System.Collections.Generic;
using NQuery.Binding;
namespace NQuery.Optimization
{
internal static class Optimizer
{
public static BoundQuery Optimize(BoundQuery query)
{
var optmizedRelation = Optimize(query.Relation);
return new BoundQuery(optmizedRelation, quer... | using System.Collections.Generic;
using NQuery.Binding;
namespace NQuery.Optimization
{
internal static class Optimizer
{
public static BoundQuery Optimize(BoundQuery query)
{
var optmizedRelation = Optimize(query.Relation);
return new BoundQuery(optmizedRelation, quer... | mit | C# |
2a4fc59f22b237f06532609f1af6d5dfb8dfcba5 | Correct KB to KiB, etc | canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor | src/SyncTrayzor/Utils/FormatUtils.cs | src/SyncTrayzor/Utils/FormatUtils.cs | using SyncTrayzor.Localization;
using SyncTrayzor.Properties.Strings;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SyncTrayzor.Utils
{
public static class FormatUtils
{
private static readonly string[] sizes = { "B", "KiB... | using SyncTrayzor.Localization;
using SyncTrayzor.Properties.Strings;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SyncTrayzor.Utils
{
public static class FormatUtils
{
private static readonly string[] sizes = { "B", "KB"... | mit | C# |
06380095b46bc20463cf39d59e15fd5f69850a51 | Remove forward slashes from paths. (#323) | kubernetes-client/csharp,kubernetes-client/csharp | src/KubernetesClient/KubernetesClientConfiguration.InCluster.cs | src/KubernetesClient/KubernetesClientConfiguration.InCluster.cs | using System;
using System.IO;
using k8s.Exceptions;
namespace k8s
{
public partial class KubernetesClientConfiguration
{
private static string ServiceAccountPath =
Path.Combine(new string[] {
"var", "run", "secrets", "kubernetes.io", "serviceaccount/"
});
... | using System;
using System.IO;
using k8s.Exceptions;
namespace k8s
{
public partial class KubernetesClientConfiguration
{
private const string ServiceAccountPath = "/var/run/secrets/kubernetes.io/serviceaccount/";
private const string ServiceAccountTokenKeyFileName = "token";
private co... | apache-2.0 | C# |
de3097e142b2e0959cfe269f9dc6bd29cffb6d58 | update Logging/MicrosoftLoggingLoggerExtensions.cs namespace | WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common | src/WeihanLi.Common/Logging/MicrosoftLoggingLoggerExtensions.cs | src/WeihanLi.Common/Logging/MicrosoftLoggingLoggerExtensions.cs | using System;
namespace Microsoft.Extensions.Logging
{
public static class LoggerExtensions
{
#region Info
public static void Info(this ILogger logger, string msg, params object[] parameters) => logger.LogInformation(msg, parameters);
public static void Info(this ILogger logger, Exce... | using System;
using Microsoft.Extensions.Logging;
namespace WeihanLi.Common.Logging
{
public static class LoggerExtensions
{
#region Info
public static void Info(this ILogger logger, string msg, params object[] parameters) => logger.LogInformation(msg, parameters);
public static void... | mit | C# |
75623f73d1fd635ddace9d36ee28eeabe6030531 | Fix GC KeepAlive test | cshung/coreclr,krk/coreclr,krk/coreclr,poizan42/coreclr,mmitche/coreclr,wtgodbe/coreclr,cshung/coreclr,poizan42/coreclr,krk/coreclr,krk/coreclr,cshung/coreclr,poizan42/coreclr,mmitche/coreclr,wtgodbe/coreclr,krk/coreclr,wtgodbe/coreclr,cshung/coreclr,poizan42/coreclr,cshung/coreclr,mmitche/coreclr,mmitche/coreclr,wtgod... | tests/src/GC/API/GC/KeepAlive.cs | tests/src/GC/API/GC/KeepAlive.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/*
* Tests GC.KeepAlive(obj), where obj is the Object reference whose
* finalizer you don't want called until aft... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/*
* Tests GC.KeepAlive(obj), where obj is the Object reference whose
* finalizer you don't want called until aft... | mit | C# |
2848c7ae60892f43f61d633d2b61a54027a45ed1 | Revert unnecessary change | peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework | osu.Framework.Tests/Visual/Audio/TestSceneLoopingSample.cs | osu.Framework.Tests/Visual/Audio/TestSceneLoopingSample.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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Audio.Sample;
using osu.Framework.Audio.Track;
namespace osu.Framework.Tests.Visual.Audio
{
... | // 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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Audio.Sample;
using osu.Framework.Audio.Track;
namespace osu.Framework.Tests.Visual.Audio
{
... | mit | C# |
cffe34562c9a8eecf5a97af6cd1adac9614044cb | add win check in Grid | svmnotn/friendly-guacamole | Assets/src/data/Grid.cs | Assets/src/data/Grid.cs | public class Grid {
Cell[,] grid;
public Grid() {
this.grid = new Cell[,] {
{Cell.def, Cell.def, Cell.def},
{Cell.def, Cell.def, Cell.def},
{Cell.def, Cell.def, Cell.def}
};
}
public Grid(Cell[,] grid) {
this.grid = grid;
}
public bool Play(Vector pos, Player p) {
if (grid [pos.x, p... | public class Grid {
Cell[,] grid = {
{Cell.def, Cell.def, Cell.def},
{Cell.def, Cell.def, Cell.def},
{Cell.def, Cell.def, Cell.def}
};
public bool play(Vector pos, Player p) {
if (grid [pos.x, pos.y].played) {
return false;
}
grid [pos.x, pos.y] = new Cell(p.type);
return true... | mit | C# |
7bf74093cddf42f6bfc99d9df79f4193378e517e | Enable the default files when ASP.NET Core is serving the static content. | daxnet/apworks-examples,daxnet/apworks-examples,daxnet/apworks-examples,daxnet/apworks-examples | src/TaskList/Startup.cs | src/TaskList/Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Apworks.Integratio... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Apworks.Integratio... | apache-2.0 | C# |
abf9e85f3f0e7eaa318c18b9b0d768a63707aa2f | Add Mouse Look Tracking to player character | JasonMiletta/LDJam-39---Out-of-Power | Assets/PlayerMovement.cs | Assets/PlayerMovement.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMovement : MonoBehaviour {
public float movementSpeed = 1.0f;
private bool isMovementLocked = false;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update (... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMovement : MonoBehaviour {
public float movementSpeed = 1.0f;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
var x = Input.GetAxis("Horizontal... | cc0-1.0 | C# |
dd6723948b8127103ea991f1febd8278f9235b8b | Remove dead code | rsdn/nitra,JetBrains/Nitra,JetBrains/Nitra,rsdn/nitra | Nitra.Visualizer/MainWindow.xaml.Highlighting.cs | Nitra.Visualizer/MainWindow.xaml.Highlighting.cs | using ICSharpCode.AvalonEdit.Highlighting;
using Nitra.ClientServer.Messages;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
namespace Nitra.Visualizer
{
public partial class MainWindow
{
readonly Dictionary<int, HighlightingColor> ... | using ICSharpCode.AvalonEdit.Highlighting;
using Nitra.ClientServer.Messages;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
namespace Nitra.Visualizer
{
public partial class MainWindow
{
readonly Dictionary<int, HighlightingColor> ... | apache-2.0 | C# |
7f64012cfc022c82fd12605dd65ea06a02112c16 | Remove seek | NeoAdonis/osu,ppy/osu,peppy/osu,2yangk23/osu,peppy/osu,ppy/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,2yangk23/osu,smoogipoo/osu,smoogipooo/osu,EVAST9919/osu,johnneijzen/osu,NeoAdonis/osu,johnneijzen/osu,peppy/osu-new,UselessToucan/osu,EVAST9919/osu,smoogipoo/osu | osu.Game.Tests/Visual/UserInterface/TestSceneNowPlayingOverlay.cs | osu.Game.Tests/Visual/UserInterface/TestSceneNowPlayingOverlay.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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Beatmaps;
using osu.Game.Overlays;
using osu.Game.Rulesets.Osu;
name... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Beatmaps;
using osu.Game.Overlays;
using osu.Game.Rulesets.Osu;
name... | mit | C# |
2960800f2a705b75f97865012489f69fa9729ba2 | Use TitleSuffix then grouping positions | roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University | R7.University/entities/OccupiedPositionInfoEx.cs | R7.University/entities/OccupiedPositionInfoEx.cs | using System;
using System.Linq;
using System.Collections.Generic;
using DotNetNuke.Data;
using DotNetNuke.ComponentModel.DataAnnotations;
using DotNetNuke.Entities.Portals;
using DotNetNuke.Entities.Users;
namespace R7.University
{
// More attributes for class:
// Set caching for table: [Cacheable("R7.U... | using System;
using System.Linq;
using System.Collections.Generic;
using DotNetNuke.Data;
using DotNetNuke.ComponentModel.DataAnnotations;
using DotNetNuke.Entities.Portals;
using DotNetNuke.Entities.Users;
namespace R7.University
{
// More attributes for class:
// Set caching for table: [Cacheable("R7.U... | agpl-3.0 | C# |
13ee3dcb3d5715aefae7982bda76aebdd27784f9 | add home page | LordMike/TMDbLib | TMDbLib/Objects/General/TranslationData.cs | TMDbLib/Objects/General/TranslationData.cs | using Newtonsoft.Json;
namespace TMDbLib.Objects.General
{
public class TranslationData
{
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("overview")]
public string Overview { get; set; }
[JsonProperty("homepage")]
public string HomePage... | using Newtonsoft.Json;
namespace TMDbLib.Objects.General
{
public class TranslationData
{
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("overview")]
public string Overview { get; set; }
[JsonProperty("tagline")]
public string Tagline {... | mit | C# |
7a4a4603a37f90512e662d1bff540dd21e8cdc10 | Concatenate messages if they differ. Check times are close together. | CamTechConsultants/CvsntGitImporter | Commit.cs | Commit.cs | /*
* John Hall <john.hall@xjtag.com>
* Copyright (c) Midas Yellow Ltd. All rights reserved.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace CvsGitConverter
{
/// <summary>
/// Represents a set of changes to files committed in one ... | /*
* John Hall <john.hall@xjtag.com>
* Copyright (c) Midas Yellow Ltd. All rights reserved.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace CvsGitConverter
{
/// <summary>
/// Represents a set of changes to files committed in one ... | mit | C# |
dc7a667ebaccfdfa097afaac4dd17503ee308fed | Remove Ipc repository | awaescher/RepoZ,awaescher/RepoZ | RepoZ.Ipc/Repository.cs | RepoZ.Ipc/Repository.cs | namespace RepoZ.Ipc
{
[System.Diagnostics.DebuggerDisplay("{Name}")]
public class Repository
{
public static Repository FromString(string value)
{
var parts = value?.Split(new string[] { "::" }, System.StringSplitOptions.None);
var partsCount = parts?.Length ?? 0;
var validFormat = partsCount == 3 || ... | namespace RepoZ.Ipc
{
[System.Diagnostics.DebuggerDisplay("{Name}")]
public class Repository
{
public static Repository FromString(string value)
{
var parts = value?.Split(new string[] { "::" }, System.StringSplitOptions.None);
var partsCount = parts?.Length ?? 0;
var validFormat = partsCount == 3 || ... | mit | C# |
1a8c39ca1f31fba4246aacc79623eb6bdd7a575d | Fix bug where image created with .WithSize/WithBoxSize wouldn't be sized correctly in an Image widget | mminns/xwt,sevoku/xwt,hamekoz/xwt,residuum/xwt,steffenWi/xwt,TheBrainTech/xwt,mminns/xwt,cra0zy/xwt,hwthomas/xwt,lytico/xwt,iainx/xwt,mono/xwt,akrisiun/xwt,directhex/xwt,antmicro/xwt | Xwt.Gtk/Xwt.GtkBackend/ImageViewBackend.cs | Xwt.Gtk/Xwt.GtkBackend/ImageViewBackend.cs | //
// ImageViewBackend.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2011 Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without rest... | //
// ImageViewBackend.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2011 Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without rest... | mit | C# |
329b547fd981da7c8070ce03ef0694de9fd064b2 | Update FixedRateCurrencyConverter.cs | tiksn/TIKSN-Framework | TIKSN.Core/Finance/FixedRateCurrencyConverter.cs | TIKSN.Core/Finance/FixedRateCurrencyConverter.cs | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Finance
{
public class FixedRateCurrencyConverter : ICurrencyConverter
{
private readonly decimal rate;
public FixedRateCurrencyConverter(CurrencyPair pair, decimal rate)
... | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Finance
{
public class FixedRateCurrencyConverter : ICurrencyConverter
{
private CurrencyPair currencyPair;
private readonly decimal rate;
public FixedRateCurrencyConv... | mit | C# |
f8530c5452af7d58d20267ea623af2f86e88d07c | sort usings | mrward/NuGet.V2,rikoe/nuget,jmezach/NuGet2,rikoe/nuget,GearedToWar/NuGet2,mrward/NuGet.V2,oliver-feng/nuget,chocolatey/nuget-chocolatey,GearedToWar/NuGet2,mrward/NuGet.V2,chocolatey/nuget-chocolatey,mrward/nuget,pratikkagda/nuget,jmezach/NuGet2,alluran/node.net,RichiCoder1/nuget-chocolatey,jholovacs/NuGet,ctaggart/nuge... | src/Core/FileModifiers/Preprocessor.cs | src/Core/FileModifiers/Preprocessor.cs | using NuGet.Resources;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
namespace NuGet
{
/// <summary>
/// Simple token replacement system for content files.
/// </summary>
public class Pr... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text.RegularExpressions;
using NuGet.Resources;
using System.Text;
namespace NuGet
{
/// <summary>
/// Simple token replacement system for content files.
/// </summary>
public class Pr... | apache-2.0 | C# |
3e1f4ab128b0dd34acba446017904b162ad1d147 | Test działania wersjonowania | fmatuszewski/CubeGenerator | Test/CubeFactoryTest.cs | Test/CubeFactoryTest.cs | using NUnit.Framework;
using System;
//git test
namespace CubeGenerator
{
[TestFixture()]
public class CubeFactoryTest
{
[Test()]
public void TestCase ()
{
}
[Test()]
public void ConnectDatabaseTestCase ()
{
//given
CubeFactory cf = new CubeFactory ("LocalHost", "msolap", "MyOla... | using NUnit.Framework;
using System;
namespace CubeGenerator
{
[TestFixture()]
public class CubeFactoryTest
{
[Test()]
public void TestCase ()
{
}
[Test()]
public void ConnectDatabaseTestCase ()
{
//given
CubeFactory cf = new CubeFactory ("LocalHost", "msolap", "MyOlap");
//when
//then
... | mit | C# |
1a3969902510a084d4d6dac383a23e6e3dc07f99 | Update MainService.cs | D4N3-777/Din_Website,D4N3-777/Din_Website,D4N3-777/Din_Website | src/Din.Service/Classes/MainService.cs | src/Din.Service/Classes/MainService.cs | using Din.ExternalModels.Utils;
namespace Din.Service.Classes
{
/// <summary>
/// MainService that provides the necessary properties.
/// </summary>
public static class MainService
{
//Debug Location
//public static readonly PropertyFile PropertyFile = new PropertyFile(@"Propert... | using Din.ExternalModels.Utils;
namespace Din.Service.Classes
{
/// <summary>
/// MainService that provides the necessary properties.
/// </summary>
public static class MainService
{
//Debug Location
public static readonly PropertyFile PropertyFile = new PropertyFile(@"PropertyF... | apache-2.0 | C# |
d20162c2a95014e3cf82c30b403cf4e56ff7a96e | remove unused usings | rjw57/streamkinect2.net | ExampleServer/Program.cs | ExampleServer/Program.cs | using StreamKinect2;
namespace ExampleServer
{
class Program
{
static void Main(string[] args)
{
using (Server server = new Server())
{
server.Start();
server.AddDevice(new SimulatedKinectDevice());
System.Console.WriteLin... | using StreamKinect2;
using System.Threading.Tasks;
namespace ExampleServer
{
class Program
{
static void Main(string[] args)
{
using (Server server = new Server())
{
server.Start();
server.AddDevice(new SimulatedKinectDevice());
... | bsd-2-clause | C# |
8d33c94a9b5efd302d539eef6ccf96fb34585e73 | バージョン表記を0.2に変更 | nanase/sitrine | src/Sitrine/Properties/AssemblyInfo.cs | src/Sitrine/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("Sitrine")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assemb... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("Sitrine")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assemb... | mit | C# |
df98860119d72763929ea61f0df52a6baa56eabd | add type attribute to image response | vevix/DigitalOcean.API | DigitalOcean.API/Models/Responses/Image.cs | DigitalOcean.API/Models/Responses/Image.cs | using System;
using System.Collections.Generic;
namespace DigitalOcean.API.Models.Responses {
public class Image {
/// <summary>
/// A unique number that can be used to identify and reference a specific image.
/// </summary>
public int Id { get; set; }
/// <summary>
... | using System;
using System.Collections.Generic;
namespace DigitalOcean.API.Models.Responses {
public class Image {
/// <summary>
/// A unique number that can be used to identify and reference a specific image.
/// </summary>
public int Id { get; set; }
/// <summary>
... | mit | C# |
3ec1baf5937f3c7b23d2c6a47a30f5b64ce09048 | Make virtual tracks reeeeeeeaaally long | peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,naoey/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,Tom94/osu-framework,DrabWeb/osu-framework,Nabile-Rahmani/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,naoey/osu-framew... | osu.Framework/Audio/Track/TrackVirtual.cs | osu.Framework/Audio/Track/TrackVirtual.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Timing;
namespace osu.Framework.Audio.Track
{
public class TrackVirtual : Track
{
private readonly StopwatchClock... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Timing;
namespace osu.Framework.Audio.Track
{
public class TrackVirtual : Track
{
private readonly StopwatchClock... | mit | C# |
a8155ce0599581aa2429b5b95cb44cf71e13ec7e | Move overheating check into update | andrewjleavitt/SpaceThing | Assets/Scripts/PlayerSpaceShip.cs | Assets/Scripts/PlayerSpaceShip.cs | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerSpaceShip : MonoBehaviour {
public int hp = 0;
public int level = 0;
public float heatThreshold = 0.0f;
public ArmorBehavior armor;
public ShieldBehavior shield;
public Dictionary ... | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerSpaceShip : MonoBehaviour {
public int hp = 0;
public int level = 0;
public float heatThreshold = 0.0f;
public ArmorBehavior armor;
public ShieldBehavior shield;
public Dictionary ... | unlicense | C# |
e1c0126dd10239ecdb39ee0ff225131748ca54a1 | Check argument range. | fuyuno/HSPToolsVS | HSPToolsVS/IntelliSense/HSPDeclarations.cs | HSPToolsVS/IntelliSense/HSPDeclarations.cs | using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.Package;
namespace HSPToolsVS.IntelliSense
{
// ReSharper disable once InconsistentNaming
internal class HSPDeclarations : Declarations
{
private readonly IList<string> _declarations;
public HSPDeclarations... | using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.Package;
namespace HSPToolsVS.IntelliSense
{
// ReSharper disable once InconsistentNaming
internal class HSPDeclarations : Declarations
{
private readonly IList<string> _declarations;
public HSPDeclarations... | mit | C# |
796605883aefcff0d27fbc558bb83af1f9cc6119 | Stop commiting binary. | DinkyToyz/wtmcsServiceDispatcher,DinkyToyz/wtmcsServiceDispatcher | wtmcsServiceDispatcher/Build/PreBuildStamps.cs | wtmcsServiceDispatcher/Build/PreBuildStamps.cs | using System;
namespace AssemblyInfo
{
/// <summary>
/// Build stamps.
/// </summary>
public static class PreBuildStamps
{
/// <summary>
/// Build-stamped ticks.
/// </summary>
private static long ticks = 636359842580240693; /*:TICKS:*/
/// <summary>
... | using System;
namespace AssemblyInfo
{
/// <summary>
/// Build stamps.
/// </summary>
public static class PreBuildStamps
{
/// <summary>
/// Build-stamped ticks.
/// </summary>
private static long ticks = 636357522655804518; /*:TICKS:*/
/// <summary>
... | mit | C# |
99b542033078c514f44ef18c6bea863e6db6bd13 | Remove access modifier | jkereako/PillBlasta | Assets/Scripts/Weapon.cs | Assets/Scripts/Weapon.cs | using UnityEngine;
public enum FireMode {
Automatic,
Burst,
Single}
;
[RequireComponent(typeof(MuzzleFlash))]
public class Weapon: MonoBehaviour {
public FireMode fireMode;
public Transform muzzle;
public Transform ejector;
public Projectile projectile;
public Transform shell;
public int burstCou... | using UnityEngine;
public enum FireMode {
Automatic,
Burst,
Single}
;
[RequireComponent(typeof(MuzzleFlash))]
public class Weapon: MonoBehaviour {
public FireMode fireMode;
public Transform muzzle;
public Transform ejector;
public Projectile projectile;
public Transform shell;
public int burstCou... | mit | C# |
f8d12266e143e85835e5940166fb7d13c67791b6 | Use HashSet for SelectedChildren | MatterHackers/agg-sharp,jlewin/agg-sharp,larsbrubaker/agg-sharp | DataConverters3D/Object3D/SelectedChildren.cs | DataConverters3D/Object3D/SelectedChildren.cs | /*
Copyright (c) 2017, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... | /*
Copyright (c) 2017, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... | bsd-2-clause | C# |
43ea42f2aa6d1719c18e1650e5335a81dc34e4c5 | Fix number format for locales that don't use . as decimal mark | HalidCisse/ReactiveTrader,akrisiun/ReactiveTrader,mrClapham/ReactiveTrader,abbasmhd/ReactiveTrader,mrClapham/ReactiveTrader,akrisiun/ReactiveTrader,mrClapham/ReactiveTrader,rikoe/ReactiveTrader,HalidCisse/ReactiveTrader,LeeCampbell/ReactiveTrader,rikoe/ReactiveTrader,AdaptiveConsulting/ReactiveTrader,LeeCampbell/Reacti... | src/Adaptive.ReactiveTrader.Client/UI/SpotTiles/PriceFormatter.cs | src/Adaptive.ReactiveTrader.Client/UI/SpotTiles/PriceFormatter.cs | using System.Globalization;
namespace Adaptive.ReactiveTrader.Client.UI.SpotTiles
{
public static class PriceFormatter
{
public static FormattedPrice GetFormattedPrice(decimal rate, int precision, int pipsPosition)
{
var rateAsString = rate.ToString("0." + new string('0', precision... | namespace Adaptive.ReactiveTrader.Client.UI.SpotTiles
{
public static class PriceFormatter
{
public static FormattedPrice GetFormattedPrice(decimal rate, int precision, int pipsPosition)
{
var rateAsString = rate.ToString("0." + new string('0', precision));
var dotIndex... | apache-2.0 | C# |
e9c94fb9c7593839e3105b632f9870a860832636 | move DeleteProfileScorable to ScorableBase | yakumo/BotBuilder,yakumo/BotBuilder,xiangyan99/BotBuilder,yakumo/BotBuilder,msft-shahins/BotBuilder,xiangyan99/BotBuilder,msft-shahins/BotBuilder,stevengum97/BotBuilder,msft-shahins/BotBuilder,xiangyan99/BotBuilder,stevengum97/BotBuilder,stevengum97/BotBuilder,xiangyan99/BotBuilder,msft-shahins/BotBuilder,stevengum97/B... | CSharp/Library/Dialogs/DeleteProfileScorable.cs | CSharp/Library/Dialogs/DeleteProfileScorable.cs | using Microsoft.Bot.Builder.Dialogs.Internals;
using Microsoft.Bot.Builder.Internals.Fibers;
using Microsoft.Bot.Builder.Internals.Scorables;
using Microsoft.Bot.Builder.Resource;
using Microsoft.Bot.Connector;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Regu... | using Microsoft.Bot.Builder.Dialogs.Internals;
using Microsoft.Bot.Builder.Internals.Fibers;
using Microsoft.Bot.Builder.Internals.Scorables;
using Microsoft.Bot.Builder.Resource;
using Microsoft.Bot.Connector;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Regu... | mit | C# |
4a9e72588c5943aaf290905f855d639837fbc444 | remove uneeded field | JackCeparou/JackCeparouCompass | Decorators/SoundAlertDecorator.cs | Decorators/SoundAlertDecorator.cs | namespace Turbo.Plugins.Jack.Decorators
{
using System;
using System.Collections.Generic;
using Turbo.Plugins.Default;
using Turbo.Plugins.Jack.TextToSpeech;
public class SoundAlertDecorator<T> : IWorldDecorator where T : IActor
{
public bool Enabled { get; set; }
public IContr... | namespace Turbo.Plugins.Jack.Decorators
{
using System;
using System.Collections.Generic;
using Turbo.Plugins.Default;
using Turbo.Plugins.Jack.TextToSpeech;
public class SoundAlertDecorator<T> : IWorldDecorator where T : IActor
{
public bool Enabled { get; set; }
public IContr... | mit | C# |
02f176e081b38351ef188082f8b01c39cfe07764 | Reorder using directives | verdentk/aspnetboilerplate,virtualcca/aspnetboilerplate,ryancyq/aspnetboilerplate,beratcarsi/aspnetboilerplate,zclmoon/aspnetboilerplate,virtualcca/aspnetboilerplate,ilyhacker/aspnetboilerplate,oceanho/aspnetboilerplate,ilyhacker/aspnetboilerplate,zclmoon/aspnetboilerplate,fengyeju/aspnetboilerplate,fengyeju/aspnetboil... | test/Abp.ZeroCore.SampleApp/EntityFramework/SampleAppDbContext.cs | test/Abp.ZeroCore.SampleApp/EntityFramework/SampleAppDbContext.cs | using Abp.IdentityServer4;
using Abp.Zero.EntityFrameworkCore;
using Abp.ZeroCore.SampleApp.Core;
using Abp.ZeroCore.SampleApp.Core.EntityHistory;
using Microsoft.EntityFrameworkCore;
namespace Abp.ZeroCore.SampleApp.EntityFramework
{
//TODO: Re-enable when IdentityServer ready
public class SampleAppDbContext... | using Abp.Zero.EntityFrameworkCore;
using Abp.ZeroCore.SampleApp.Core;
using Abp.ZeroCore.SampleApp.Core.EntityHistory;
using Microsoft.EntityFrameworkCore;
using Abp.IdentityServer4;
namespace Abp.ZeroCore.SampleApp.EntityFramework
{
//TODO: Re-enable when IdentityServer ready
public class SampleAppDbContext... | mit | C# |
c61666bfdc70bf4f865e96d72bcd8ea70ad4ac07 | fix typo in Orchard.Widgets.RuleEngine.cs | rtpHarry/Orchard,johnnyqian/Orchard,AdvantageCS/Orchard,abhishekluv/Orchard,rtpHarry/Orchard,SouleDesigns/SouleDesigns.Orchard,grapto/Orchard.CloudBust,sfmskywalker/Orchard,hbulzy/Orchard,yersans/Orchard,Dolphinsimon/Orchard,Codinlab/Orchard,sfmskywalker/Orchard,bedegaming-aleksej/Orchard,jagraz/Orchard,xkproject/Orcha... | src/Orchard.Web/Modules/Orchard.Widgets/RuleEngine/RuleManager.cs | src/Orchard.Web/Modules/Orchard.Widgets/RuleEngine/RuleManager.cs | using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using Orchard.Localization;
using Orchard.Scripting;
using Orchard.Widgets.Services;
namespace Orchard.Widgets.RuleEngine {
public class RuleManager : IRuleManager {
private readonly IRuleProvider _ru... | using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using Orchard.Localization;
using Orchard.Scripting;
using Orchard.Widgets.Services;
namespace Orchard.Widgets.RuleEngine {
public class RuleManager : IRuleManager {
private readonly IRuleProvider _ru... | bsd-3-clause | C# |
8aeeed9402e2de7d6de6e477adc69bf914ed6f0c | Fix weird number formatting in test | peppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,peppy/osu,peppy/osu-new,ppy/osu | osu.Game.Tests/Visual/Gameplay/TestSceneSkinnableScoreCounter.cs | osu.Game.Tests/Visual/Gameplay/TestSceneSkinnableScoreCounter.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.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Testing;
using osu.G... | // 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.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Testing;
using osu.G... | mit | C# |
2d4b7dc361ca061fd74cef1654ab86875c58d518 | Remove redundant code | smoogipoo/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu,2yangk23/osu,UselessToucan/osu,ppy/osu,ppy/osu,UselessToucan/osu,johnneijzen/osu,EVAST9919/osu,EVAST9919/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,johnneijzen/osu,smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu | osu.Game/Screens/Edit/Compose/Components/CircularBeatSnapGrid.cs | osu.Game/Screens/Edit/Compose/Components/CircularBeatSnapGrid.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.Graphics;
using osu.Framework.Graphics.UserInterface;
using osu.Game.Rulesets.Objects;
using osuTK;
namespace osu.Game.Screens.Edit.Com... | // 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.Graphics;
using osu.Framework.Graphics.UserInterface;
using osu.Game.Rulesets.Objects;
using osuTK;
namespace osu.Game.Screens.Edit.Com... | mit | C# |
4564af60e9423e81a15f46f6f2d6659a9f3c791b | Fix typo in DataPager control sample | riganti/dotvvm-docs | Controls/builtin/DataPager/sample1/ViewModel.cs | Controls/builtin/DataPager/sample1/ViewModel.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using DotVVM.Framework.Controls;
using DotVVM.Framework.ViewModel;
namespace DotvvmWeb.Views.Docs.Controls.builtin.DataPager.sample1
{
public class ViewModel : DotvvmViewModelBase
{
private static IQueryable<Customer> FakeDb()
{
... | using System;
using System.Linq;
using System.Threading.Tasks;
using DotVVM.Framework.Controls;
using DotVVM.Framework.ViewModel;
namespace DotvvmWeb.Views.Docs.Controls.builtin.DataPager.sample1
{
public class ViewModel : DotvvmViewModelBase
{
private static IQueryable<Customer> FakeDb()
{
... | apache-2.0 | C# |
cdf73ef95c0cdcc80fe67575723570495e4c27dd | update Info | Ye-Yong-Chi/NewBeanfunLogin4TWMS,Inndy/NewBeanfunLogin4TWMS | NewBeanfunLogin/Properties/AssemblyInfo.cs | NewBeanfunLogin/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 組件的一般資訊是由下列的屬性集控制。
// 變更這些屬性的值即可修改組件的相關
// 資訊。
[assembly: AssemblyTitle("NewBeanfunLogin")]
[assembly: AssemblyDescription("MapleStory Launcher")]
[assembly: AssemblyConfiguration("")]
[assembly: Assembl... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 組件的一般資訊是由下列的屬性集控制。
// 變更這些屬性的值即可修改組件的相關
// 資訊。
[assembly: AssemblyTitle("NewBeanfunLogin")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Inndy")]
... | mit | C# |
6662bb7fff6c77e7080505d5dd30471b688a142e | allow only specifying min range | prime31/Nez,prime31/Nez,prime31/Nez,ericmbernier/Nez | Nez.Portable/Debug/Inspector/Attributes.cs | Nez.Portable/Debug/Inspector/Attributes.cs | using System;
namespace Nez
{
/// <summary>
/// Attribute that is used to indicate that the field/property should be present in the inspector
/// </summary>
[AttributeUsage( AttributeTargets.Field | AttributeTargets.Property )]
public class InspectableAttribute : Attribute
{}
/// <summary>
/// Attribute that ... | using System;
namespace Nez
{
/// <summary>
/// Attribute that is used to indicate that the field/property should be present in the inspector
/// </summary>
[AttributeUsage( AttributeTargets.Field | AttributeTargets.Property )]
public class InspectableAttribute : Attribute
{}
/// <summary>
/// Attribute that ... | mit | C# |
bce785e792cbeff3494ce821f8d0d29030e2a626 | use IRichArtifact interface for generic metadata collection in Curation. | ecologylab/BigSemanticsWrapperRepository,ecologylab/BigSemanticsWrapperRepository,ecologylab/BigSemanticsWrapperRepository | BigSemantics.GeneratedClassesCSharp/Library/CurationNS/Curation.cs | BigSemantics.GeneratedClassesCSharp/Library/CurationNS/Curation.cs | //
// Curation.cs
// s.im.pl serialization
//
// Generated by MetaMetadataDotNetTranslator.
// Copyright 2014 Interface Ecology Lab.
//
using Ecologylab.BigSemantics.Generated.Library.CreativeWorkNS;
using Ecologylab.BigSemantics.MetaMetadataNS;
using Ecologylab.BigSemantics.MetadataNS;
using Ecologylab.BigSemantics... | //
// Curation.cs
// s.im.pl serialization
//
// Generated by MetaMetadataDotNetTranslator.
// Copyright 2014 Interface Ecology Lab.
//
using Ecologylab.BigSemantics.Generated.Library.CreativeWorkNS;
using Ecologylab.BigSemantics.MetaMetadataNS;
using Ecologylab.BigSemantics.MetadataNS;
using Ecologylab.BigSemantics... | apache-2.0 | C# |
7e3c4ab83e4655ae456061def1de40c1692d72f2 | fix Unpublished constant to use the BaseUtcOffset | campersau/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer,BreeeZe/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer | Core/Packages/Constants.cs | Core/Packages/Constants.cs | using System;
namespace NuGet
{
public static class Constants
{
internal const string PackageServiceEntitySetName = "Packages";
internal const string PackageRelationshipNamespace = "http://schemas.microsoft.com/packaging/2010/07/";
public static readonly string PackageExtension = ".nup... | using System;
namespace NuGet
{
public static class Constants
{
internal const string PackageServiceEntitySetName = "Packages";
internal const string PackageRelationshipNamespace = "http://schemas.microsoft.com/packaging/2010/07/";
public static readonly string PackageExtension = ".nup... | mit | C# |
73173a4d859a165420e6f8c3d445bfb9417f97b1 | Make taskbar jump list show last part of path (folder name) | michael-reichenauer/GitMind | GitMind/Common/JUmpListService.cs | GitMind/Common/JUmpListService.cs | using System.IO;
using System.Windows;
using System.Windows.Shell;
using GitMind.ApplicationHandling.SettingsHandling;
namespace GitMind.Common
{
public class JumpListService
{
private static readonly int MaxTitleLength = 25;
public void Add(string workingFolder)
{
JumpList jumpList = JumpList.GetJumpLi... | using System.Windows;
using System.Windows.Shell;
using GitMind.ApplicationHandling.SettingsHandling;
namespace GitMind.Common
{
public class JumpListService
{
private static readonly int MaxTitleLength = 25;
public void Add(string workingFolder)
{
JumpList jumpList = JumpList.GetJumpList(Application.Cu... | mit | C# |
0f3daf5c889b60a8776b2d9f15bc4c80e453e74d | test cases | jefking/King.B-Trak | King.BTrak.Unit.Test/TableStorageWriterTests.cs | King.BTrak.Unit.Test/TableStorageWriterTests.cs | namespace King.BTrak.Unit.Test
{
using King.Azure.Data;
using NSubstitute;
using NUnit.Framework;
using System;
[TestFixture]
public class TableStorageWriterTests
{
[Test]
public void Constructor()
{
var table = Substitute.For<ITableStorage>();
... | namespace King.BTrak.Unit.Test
{
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
[TestFixture]
public class TableStorageWriterTests
{
}
} | mit | C# |
732889a14528f8f1c0c81b39c2a898fdd9666d00 | Validate action expressions | NRules/NRules,prashanthr/NRules,StanleyGoldman/NRules,StanleyGoldman/NRules | src/NRules/NRules.RuleModel/Builders/ActionGroupBuilder.cs | src/NRules/NRules.RuleModel/Builders/ActionGroupBuilder.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace NRules.RuleModel.Builders
{
/// <summary>
/// Builder to compose a group of rule actions.
/// </summary>
public class ActionGroupBuilder : RuleElementBuilder, IBuilder<ActionGroupElement>
{
... | using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace NRules.RuleModel.Builders
{
/// <summary>
/// Builder to compose a group of rule actions.
/// </summary>
public class ActionGroupBuilder : RuleElementBuilder, IBuilder<ActionGroupElement>
{
privat... | mit | C# |
0c4fbe4e454162d0d77ade22dfc4c7e0cf158142 | Rename levenstein to levenshtein. | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Nest/Search/Suggesters/TermSuggester/StringDistance.cs | src/Nest/Search/Suggesters/TermSuggester/StringDistance.cs | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Nest
{
[JsonConverter(typeof(StringEnumConverter))]
public enum StringDistance
{
[EnumMember(V... | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Nest
{
[JsonConverter(typeof(StringEnumConverter))]
public enum StringDistance
{
[EnumMember(V... | apache-2.0 | C# |
1b53b5c93869a88e0b6892e9b7ff7775c7bd28c0 | Use the .Data propertry as opposed to GetData in this PartialView | umbraco/Umbraco-CMS,KevinJump/Umbraco-CMS,umbraco/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,leekelleher/Umbraco-CMS,bjarnef/Umbraco-CMS,abjerner/Umbraco-CMS,robertjf/Umbraco-CMS,tcmorris/Umbraco-CMS,dawoe/Umbraco-CMS,madsoulswe/Umbraco-CMS,madsoulswe/Umbraco-CMS,leekelleher/Umbraco-CMS,mattbrailsford/Umbraco-CMS,marcem... | src/Umbraco.Web.UI/Views/Partials/BlockList/Default.cshtml | src/Umbraco.Web.UI/Views/Partials/BlockList/Default.cshtml | @inherits UmbracoViewPage<BlockListModel>
@using ContentModels = Umbraco.Web.PublishedModels;
@using Umbraco.Core.Models.Blocks
@{
if (Model?.Layout == null || !Model.Layout.Any()) { return; }
}
<div class="umb-block-list">
@foreach (var layout in Model.Layout)
{
if (layout?.Udi == null) { continue... | @inherits UmbracoViewPage<BlockListModel>
@using ContentModels = Umbraco.Web.PublishedModels;
@using Umbraco.Core.Models.Blocks
@{
if (Model?.Layout == null || !Model.Layout.Any()) { return; }
}
<div class="umb-block-list">
@foreach (var layout in Model.Layout)
{
if (layout?.Udi == null) { continue... | mit | C# |
1424e5f3287b00a8f3f0b8cf07c0785439fc8fda | Use default values in settings constructor | smarkets/IronSmarkets | IronSmarkets/Sessions/Settings.cs | IronSmarkets/Sessions/Settings.cs | // Copyright (c) 2011 Smarkets Limited
//
// 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, merge, pu... | // Copyright (c) 2011 Smarkets Limited
//
// 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, merge, pu... | mit | C# |
6701104726a908f64d3d229165de41055aa4ecc5 | Fix date in date pickuper | g-stoyanov/InfinysBreakfastOrders,g-stoyanov/InfinysBreakfastOrders | Source/Web/InfinysBreakfastOrders.Web/Views/Orders/NewOrder.cshtml | Source/Web/InfinysBreakfastOrders.Web/Views/Orders/NewOrder.cshtml | @model InfinysBreakfastOrders.Web.InputModels.Orders.OrderInputModel
@{
ViewBag.Title = "Post New Order";
}
<h1>@ViewBag.Title</h1>
@using (Html.BeginForm("NewOrder", "Orders", FormMethod.Post))
{
<div class="row">
@Html.LabelFor(model => model.OrderDate)
@Html.TextBoxFor(model => model.Order... | @model InfinysBreakfastOrders.Web.InputModels.Orders.OrderInputModel
@{
ViewBag.Title = "Post New Order";
}
<h1>@ViewBag.Title</h1>
@using (Html.BeginForm("NewOrder", "Orders", FormMethod.Post))
{
<div class="row">
@Html.LabelFor(model => model.OrderDate)
@Html.TextBoxFor(model => model.Order... | mit | C# |
0177c53a3a24eaafa87cc11fd86489437f75ea37 | Bump version. | mskcc/Medidata.RWS.NET,mskcc/Medidata.RWS.NET | Medidata.RWS.NET/Properties/AssemblyInfo.cs | Medidata.RWS.NET/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("Med... | 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("Med... | mit | C# |
0cfb3309152109eb1d09ddb88e5ef7ec6fa2dddd | Allow filters on composer | Miruken-DotNet/Miruken | Miruken/Callback/Policy/ComposerArgument.cs | Miruken/Callback/Policy/ComposerArgument.cs | namespace Miruken.Callback.Policy
{
using System.Reflection;
public class ComposerArgument<Attrib> : ArgumentRule<Attrib>
where Attrib : DefinitionAttribute
{
public static readonly ComposerArgument<Attrib>
Instance = new ComposerArgument<Attrib>();
private ComposerArg... | namespace Miruken.Callback.Policy
{
using System.Reflection;
public class ComposerArgument<Attrib> : ArgumentRule<Attrib>
where Attrib : DefinitionAttribute
{
public static readonly ComposerArgument<Attrib>
Instance = new ComposerArgument<Attrib>();
private ComposerArg... | mit | C# |
162094dbcfbf7991026047cc1f81a787a3bc09e7 | Allow POST requests | namics/TerrificNet,namics/TerrificNet,namics/TerrificNet,namics/TerrificNet,namics/TerrificNet | TerrificNet/Controllers/TemplateController.cs | TerrificNet/Controllers/TemplateController.cs | using System;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using TerrificNet.ViewEngine;
using TerrificNet.ViewEngine.TemplateHandler.UI;
using Veil.Parser;
namespace TerrificNet.Controllers
{
public class TemplateController : TemplateControllerBase
{
private readonly IViewEngine _v... | using System;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using TerrificNet.ViewEngine;
using TerrificNet.ViewEngine.TemplateHandler.UI;
using Veil.Parser;
namespace TerrificNet.Controllers
{
public class TemplateController : TemplateControllerBase
{
private readonly IViewEngine _v... | mit | C# |
bff3a987b7efb2131bc97cb22f88e4976cbe252d | Make AbuseFilter class read-only. Might put all HTML form post hacks into a separate package. | CXuesong/WikiClientLibrary | WikiClientLibrary/AbuseFilters/AbuseFilter.cs | WikiClientLibrary/AbuseFilters/AbuseFilter.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using Newtonsoft.Json;
using WikiClientLibrary.Sites;
namespace WikiClientLibrary.AbuseFilters
{
[JsonObject(MemberSerialization.OptIn)]
public sealed class AbuseFilter
{
public static readonl... | using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
namespace WikiClientLibrary.AbuseFilters
{
[JsonObject(MemberSerialization.OptIn)]
public sealed class AbuseFilter
{
private ICollection<string> _Actions;
[JsonProperty]
public int Id { get; ... | apache-2.0 | C# |
4d3efc520a51b33621994263af0ab8cdd8638086 | Fix whitespace in team player stats view. | afuersch/Wuzlstats-2014,saxx/Wuzlstats-2014,afuersch/Wuzlstats-2014,saxx/Wuzlstats-2014 | WuzlStats/Views/Player/TeamPlayerStats.cshtml | WuzlStats/Views/Player/TeamPlayerStats.cshtml | @model WuzlStats.ViewModels.Player.TeamPlayerStats
<div class="panel panel-default">
<div class="panel-heading">Teams</div>
<div class="panel-body">
<div class="row">
<div class="col-sm-4">
<label>Games played:</label>
</div>
<div class="col-sm-8"><... | @model WuzlStats.ViewModels.Player.TeamPlayerStats
<div class="panel panel-default">
<div class="panel-heading">Teams</div>
<div class="panel-body">
<div class="row">
<div class="col-sm-4">
<label>Games played:</label>
</div>
<div class="col-sm-8"><... | apache-2.0 | C# |
2ec5a079fb6a9379b89d055dc4b316ac8892b323 | test code to test build config on teamcity | dfensgmbh/biz.dfch.CS.Entity.LifeCycleManager,dfensgmbh/biz.dfch.CS.Entity.LifeCycleManager,dfensgmbh/biz.dfch.CS.Entity.LifeCycleManager | src/biz.dfch.CS.Entity.LifeCycleManager.Tests/UnitTest1.cs | src/biz.dfch.CS.Entity.LifeCycleManager.Tests/UnitTest1.cs | /**
* Copyright 2015 Marc Rufer, d-fens GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | /**
* Copyright 2015 Marc Rufer, d-fens GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | apache-2.0 | C# |
114de07c6e378119f16a66aca4acfbb191f137cb | update for multiple subset associations | GeertBellekens/UML-Tooling-Framework,GeertBellekens/UML-Tooling-Framework | SchemaBuilderFramework/SchemaAssociation.cs | SchemaBuilderFramework/SchemaAssociation.cs |
using System;
using UML=TSF.UmlToolingFramework.UML;
using System.Collections.Generic;
namespace SchemaBuilderFramework
{
/// <summary>
/// Description of SchemaAssociation.
/// </summary>
public interface SchemaAssociation
{
UML.Classes.Kernel.Association sourceAssociation {get;set;}
List<UML.Classes.Kern... |
using System;
using UML=TSF.UmlToolingFramework.UML;
using System.Collections.Generic;
namespace SchemaBuilderFramework
{
/// <summary>
/// Description of SchemaAssociation.
/// </summary>
public interface SchemaAssociation
{
UML.Classes.Kernel.Association sourceAssociation {get;set;}
UML.Classes.Kernel.As... | bsd-2-clause | C# |
2b92699e3d337ab098fad8fc857ec82310e597db | Bump version to 0.9.0 | whampson/cascara,whampson/bft-spec | Src/WHampson.Cascara/Properties/AssemblyInfo.cs | Src/WHampson.Cascara/Properties/AssemblyInfo.cs | #region License
/* Copyright (c) 2017 Wes Hampson
*
* 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, ... | #region License
/* Copyright (c) 2017 Wes Hampson
*
* 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, ... | mit | C# |
da3d086edde315db03ff9b04c2926ab22940d50c | Increase connect timeout for Functional Tests (#39559) | ericstj/corefx,wtgodbe/corefx,ericstj/corefx,wtgodbe/corefx,shimingsg/corefx,wtgodbe/corefx,ericstj/corefx,ericstj/corefx,ViktorHofer/corefx,shimingsg/corefx,wtgodbe/corefx,shimingsg/corefx,shimingsg/corefx,wtgodbe/corefx,shimingsg/corefx,shimingsg/corefx,ViktorHofer/corefx,ericstj/corefx,shimingsg/corefx,wtgodbe/coref... | src/System.Data.SqlClient/tests/FunctionalTests/TestTdsServer.cs | src/System.Data.SqlClient/tests/FunctionalTests/TestTdsServer.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.SqlServer.TDS.EndPoint;
using Microsoft.SqlServer.TDS.Servers;
using System.Net;
using System.Runt... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.SqlServer.TDS.EndPoint;
using Microsoft.SqlServer.TDS.Servers;
using System.Net;
using System.Runt... | mit | C# |
674682d3eb64d3917f2236c0b48cb2c1668ed4ef | Add non-generic version of IEnumerator.ToList | orbitalgames/collections-extensions | IEnumeratorExtensions.cs | IEnumeratorExtensions.cs | /*
The MIT License (MIT)
Copyright (c) 2015 Orbital Games, LLC.
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,... | /*
The MIT License (MIT)
Copyright (c) 2015 Orbital Games, LLC.
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,... | mit | C# |
fa6d797adf9860bbde472efffcca6fa77256fb14 | Remove redundant prefix | UselessToucan/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,peppy/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,ppy/osu,peppy/osu,UselessToucan/osu | osu.Game/Screens/Ranking/SoloResultsScreen.cs | osu.Game/Screens/Ranking/SoloResultsScreen.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Allocation;
using osu.Game.Beatmaps;
using osu.Game.Online.API;
using osu.Game.Onli... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Allocation;
using osu.Game.Beatmaps;
using osu.Game.Online.API;
using osu.Game.Onli... | mit | C# |
a4bc4254465566b275b16e5da3026b60e0f8af1a | fix IdleDetector period | danelkhen/fsync | src/fsync/IdleDetector.cs | src/fsync/IdleDetector.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace fsync
{
class IdleDetector
{
public void Start()
{
if (Timeout == TimeSpan.Zero)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace fsync
{
class IdleDetector
{
public void Start()
{
if (Timeout == TimeSpan.Zero)
... | apache-2.0 | C# |
90093c1d9d3fab7757218cdb021f08c64cdd1fe7 | Combine `private` skin variable into exposed one | NeoAdonis/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu | osu.Game/Screens/Edit/EditorBeatmapSkin.cs | osu.Game/Screens/Edit/EditorBeatmapSkin.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using osu.Framework.Audio.Sample;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.OpenGL.Textur... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using osu.Framework.Audio.Sample;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.OpenGL.Textur... | mit | C# |
c465232b20fb70ee7d56b45040020ca39ffdfa19 | Make a tag V15.8.0 2017-05-22 | tropo/tropo-webapi-csharp,tropo/tropo-webapi-csharp | TropoCSharp/TropoJSON.cs | TropoCSharp/TropoJSON.cs | using System.Web;
using Newtonsoft.Json;
using System;
namespace TropoCSharp.Tropo
{
/// <summary>
/// A utility class to render a Tropo object as JSON.
/// </summary>
public static class TropoJSONExtensions
{
public static void RenderJSON(this Tropo tropo, HttpResponse response)
{... | using System.Web;
using Newtonsoft.Json;
using System;
namespace TropoCSharp.Tropo
{
/// <summary>
/// A utility class to render a Tropo object as JSON.
/// </summary>
public static class TropoJSONExtensions
{
public static void RenderJSON(this Tropo tropo, HttpResponse response)
{... | mit | C# |
17cf66d9a851142a7bdda52f0fd48cfeceeb2abe | store temp files in temp folder | hahoyer/reni.cs,hahoyer/reni.cs,hahoyer/reni.cs | src/reni2/T4Compiler.cs | src/reni2/T4Compiler.cs | #region Copyright (C) 2013
// Project Reni2
// Copyright (C) 2011 - 2013 Harald Hoyer
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License,... | #region Copyright (C) 2013
// Project Reni2
// Copyright (C) 2011 - 2013 Harald Hoyer
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License,... | mit | C# |
e4b5540e40af5de64f63f30a1e19e22cf7e5ddd6 | Remove tabs from bootstraper | XamarinGarage/GiTracker | GiTracker/Bootstraper.cs | GiTracker/Bootstraper.cs | using GiTracker.Helpers;
using GiTracker.Services.Api;
using GiTracker.Services.Database;
using GiTracker.Services.Dialogs;
using GiTracker.Services.Issues;
using GiTracker.Services.Rest;
using GiTracker.ViewModels;
using GiTracker.Views;
using Microsoft.Practices.Unity;
using Prism.Unity;
using Xamarin.Form... | using GiTracker.Helpers;
using GiTracker.Services.Api;
using GiTracker.Services.Database;
using GiTracker.Services.Dialogs;
using GiTracker.Services.Issues;
using GiTracker.Services.Rest;
using GiTracker.ViewModels;
using GiTracker.Views;
using Microsoft.Practices.Unity;
using Prism.Unity;
using Xamarin.Forms;
using G... | apache-2.0 | C# |
091dda418f68b511bfc402a4d7ea5ed624047b49 | Update MvxFormsWindowsPhonePagePresenter.cs | Cheesebaron/Cheesebaron.MvxPlugins,Cheesebaron/Cheesebaron.MvxPlugins,Ideine/Cheesebaron.MvxPlugins,Ideine/Cheesebaron.MvxPlugins | FormsPresenters/WindowsPhone/MvxFormsWindowsPhonePagePresenter.cs | FormsPresenters/WindowsPhone/MvxFormsWindowsPhonePagePresenter.cs | // MvxFormsWindowsPhonePagePresenter.cs
// 2015 (c) Copyright Cheesebaron. http://ostebaronen.dk
// Cheesebaron.MvxPlugins.FormsPresenters is licensed using Microsoft Public License (Ms-PL)
// Contributions and inspirations noted in readme.md and license.txt
//
// Project Lead - Tomasz Cielecki, @cheesebaron, mvxplug... | using System.Threading.Tasks;
using Cheesebaron.MvxPlugins.FormsPresenters.Core;
using Cirrious.CrossCore;
using Cirrious.MvvmCross.ViewModels;
using Cirrious.MvvmCross.WindowsPhone.Views;
using Xamarin.Forms;
using Microsoft.Phone.Controls;
using System;
namespace Cheesebaron.MvxPlugins.FormsPresenters.WindowsPhone
... | apache-2.0 | C# |
cd8217b9d1560db887366229da3d35f153ceccab | Arrange clean results | Kentico/KInspector,ChristopherJennings/KInspector,Kentico/KInspector,Kentico/KInspector,ChristopherJennings/KInspector,Kentico/KInspector,ChristopherJennings/KInspector,ChristopherJennings/KInspector | KenticoInspector.Reports.Tests/WebPartPerformanceAnalysisTests.cs | KenticoInspector.Reports.Tests/WebPartPerformanceAnalysisTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using KenticoInspector.Core.Constants;
using KenticoInspector.Core.Models;
using KenticoInspector.Core.Services.Interfaces;
using KenticoInspector.Reports.Tests.Helpers;
using KenticoInspector.Reports.WebPartPerformanceAnalysis;
using KenticoInspector.... | using KenticoInspector.Core.Constants;
using KenticoInspector.Core.Models;
using KenticoInspector.Core.Services.Interfaces;
using KenticoInspector.Reports.Tests.Helpers;
using KenticoInspector.Reports.WebPartPerformanceAnalysis;
using Moq;
using NUnit.Framework;
namespace KenticoInspector.Reports.Tests
{
[TestFix... | mit | C# |
9c03d70c40a5496964489249850b24b34d4930c0 | Add documentation | thecaptury/unity,Innoactive/Captury-Unity-SDK | Scripts/CapturyOrigin.cs | Scripts/CapturyOrigin.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Captury
{
/// <summary>
/// Acts as origin for all avatars.
/// </summary>
public class CapturyOrigin : MonoBehaviour
{
/// <summary>
/// Offset between this CapturyOrigin and the world origin ... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Captury
{
/// <summary>
/// Acts as origin for all avatars.
/// </summary>
public class CapturyOrigin : MonoBehaviour
{
public Vector3 OffsetToWorldOrigin
{
get
{
... | mit | C# |
dfb7d789037aa45fea13513f3a6d30a3cfae8a59 | Fix remaining game host regressions | UselessToucan/osu,peppy/osu,EVAST9919/osu,smoogipoo/osu,ppy/osu,ZLima12/osu,smoogipoo/osu,NeoAdonis/osu,johnneijzen/osu,ZLima12/osu,smoogipoo/osu,ppy/osu,peppy/osu,DrabWeb/osu,peppy/osu-new,ppy/osu,DrabWeb/osu,peppy/osu,2yangk23/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,EVAST9919/osu,2yangk23/osu,johnneijzen/osu,D... | osu.Game/Tests/CleanRunHeadlessGameHost.cs | osu.Game/Tests/CleanRunHeadlessGameHost.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.Platform;
namespace osu.Game.Tests
{
/// <summary>
/// A headless host which cleans up before running (removing any remnants from a previous... | // 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.Platform;
namespace osu.Game.Tests
{
/// <summary>
/// A headless host which cleans up before running (removing any remnants from a previous... | mit | C# |
de8c70e2e87dbe7cdfb17765b5b7edf37acca88b | Apply and EXIF orientation flags to the image on load. | PintaProject/Pinta,Fenex/Pinta,PintaProject/Pinta,jakeclawson/Pinta,Mailaender/Pinta,Fenex/Pinta,PintaProject/Pinta,jakeclawson/Pinta,Mailaender/Pinta | Pinta.Core/ImageFormats/GdkPixbufFormat.cs | Pinta.Core/ImageFormats/GdkPixbufFormat.cs | //
// GdkPixbufFormat.cs
//
// Author:
// Maia Kozheva <sikon@ubuntu.com>
//
// Copyright (c) 2010 Maia Kozheva <sikon@ubuntu.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Soft... | //
// GdkPixbufFormat.cs
//
// Author:
// Maia Kozheva <sikon@ubuntu.com>
//
// Copyright (c) 2010 Maia Kozheva <sikon@ubuntu.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Soft... | mit | C# |
4f719b886d09ece15b291337aa09fef10377cc12 | Improve chest entity | mk-dev-team/mk-world-of-imagination | src/Hevadea/GameObjects/Entities/Chest.cs | src/Hevadea/GameObjects/Entities/Chest.cs | using Hevadea.Framework.Graphic.SpriteAtlas;
using Hevadea.GameObjects.Entities.Components;
using Hevadea.GameObjects.Entities.Components.Actions;
using Hevadea.GameObjects.Entities.Components.Attributes;
using Hevadea.GameObjects.Entities.Components.States;
using Hevadea.Scenes.Menus;
using Microsoft.Xna.Framework;
u... | using Hevadea.Framework.Graphic.SpriteAtlas;
using Hevadea.GameObjects.Entities.Components;
using Hevadea.GameObjects.Entities.Components.Actions;
using Hevadea.GameObjects.Entities.Components.Attributes;
using Hevadea.GameObjects.Entities.Components.States;
using Hevadea.Scenes.Menus;
using Microsoft.Xna.Framework;
u... | mit | C# |
9f146c5874132d820b5de503e7fe99985edc0a07 | use RunSynchronously instead of StartAsTask | hmemcpy/Paket.VisualStudio,fsprojects/Paket.VisualStudio,baronfel/Paket.VisualStudio,mrinaldi/Paket.VisualStudio,TheAngryByrd/Paket.VisualStudio | src/Paket.VisualStudio/IntelliSense/NuGetCompletionListProvider.cs | src/Paket.VisualStudio/IntelliSense/NuGetCompletionListProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.FSharp.Control;
using Microsoft.FSharp.Core;
using Microsoft.VisualStudio.Language.Intellisense;
namespace Paket.VisualStudio.IntelliSense
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.FSharp.Control;
using Microsoft.FSharp.Core;
using Microsoft.VisualStudio.Language.Intellisense;
namespace Paket.VisualStudio.IntelliSense
{
... | mit | C# |
2542086981d5326bfffdc36991de077a3d1bd518 | Add xml comments to ExecutionErrors (#2098) | joemcbride/graphql-dotnet,graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet | src/GraphQL/Execution/ExecutionErrors.cs | src/GraphQL/Execution/ExecutionErrors.cs | using System;
using System.Collections;
using System.Collections.Generic;
namespace GraphQL
{
/// <summary>
/// Contains a list of execution errors.
/// </summary>
public class ExecutionErrors : IEnumerable<ExecutionError>
{
private readonly List<ExecutionError> _errors = new List<Execution... | using System;
using System.Collections;
using System.Collections.Generic;
namespace GraphQL
{
public class ExecutionErrors : IEnumerable<ExecutionError>
{
private readonly List<ExecutionError> _errors = new List<ExecutionError>();
public virtual void Add(ExecutionError error)
{
... | mit | C# |
f956459b75c9dfd2773678b23e351bb3db43c274 | Bump version to 0.4.1 | FatturaElettronicaPA/FatturaElettronicaPA | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("FatturaElettronica.NET")]
[assembly: AssemblyDescriptio... | using System.Reflection;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("FatturaElettronica.NET")]
[assembly: AssemblyDescriptio... | bsd-3-clause | C# |
27fca02a033e041651b34cb51982b1cdd48ac727 | Set attributes for b0001 | pstemari/v-engrave-plugin | VEngrave_Plugin/Properties/AssemblyInfo.cs | VEngrave_Plugin/Properties/AssemblyInfo.cs | /* -*- mode: csharp; c-basic-offset: 2 -*-
* Copyright 2013 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/LIC... | /* -*- mode: csharp; c-basic-offset: 2 -*-
* Copyright 2013 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/LIC... | apache-2.0 | C# |
de50d5d971d806047729eda24837ea5a2146b428 | Switch to the Build<AppFunc> extension method - nicer syntax | amaitland/CefSharp.Owin,amaitland/CefSharp.Owin | CefSharp.Owin.Example.Wpf/App.xaml.cs | CefSharp.Owin.Example.Wpf/App.xaml.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows;
using Microsoft.Owin.Builder;
using Owin;
namespace CefSharp.Owin.Example.Wpf
{
//Shorthand for Owin pipeline func
using AppFunc = Func<IDictionary<string, object>, Task>;
/// <summary>
/// Interaction... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows;
using Microsoft.Owin.Builder;
using Owin;
namespace CefSharp.Owin.Example.Wpf
{
//Shorthand for Owin pipeline func
using AppFunc = Func<IDictionary<string, object>, Task>;
/// <summary>
/// Interaction... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.