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 |
|---|---|---|---|---|---|---|---|---|
ff52a5ddc6bc5cbb4d5dfdf52fed460b6e660826 | Add callbacks for join/leave events to notify other room occupants | smoogipooo/osu,ppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,ppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu | osu.Game/Online/RealtimeMultiplayer/ISpectatorClient.cs | osu.Game/Online/RealtimeMultiplayer/ISpectatorClient.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.Threading.Tasks;
namespace osu.Game.Online.RealtimeMultiplayer
{
/// <summary>
/// An interface defining a spectator client instance.
/// </summ... | // 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.Threading.Tasks;
namespace osu.Game.Online.RealtimeMultiplayer
{
/// <summary>
/// An interface defining a spectator client instance.
/// </summ... | mit | C# |
5e5901ef0f64f20b58a3fd935e39546dc3eb1794 | revert last few | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | api/FilterLists.Api/Startup.cs | api/FilterLists.Api/Startup.cs | using FilterLists.Api.DependencyInjection.Extensions;
using FilterLists.Data.DependencyInjection.Extensions;
using FilterLists.Services.DependencyInjection.Extensions;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Dependency... | using FilterLists.Api.DependencyInjection.Extensions;
using FilterLists.Data.DependencyInjection.Extensions;
using FilterLists.Services.DependencyInjection.Extensions;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Dependency... | mit | C# |
0dc257d1d72852d0d83f1fa0bc795c6ad60ae7b9 | Change raw file request rewriter to use AppRelativeCurrentExecutionFilePath instead of PathInfo to determine the file path. When not running in IIS PathInfo seems to be empty at the point when the rewriter is called. | damiensawyer/cassette,andrewdavey/cassette,BluewireTechnologies/cassette,honestegg/cassette,andrewdavey/cassette,BluewireTechnologies/cassette,andrewdavey/cassette,honestegg/cassette,honestegg/cassette,damiensawyer/cassette,damiensawyer/cassette | src/Cassette.Aspnet/RawFileRequestRewriter.cs | src/Cassette.Aspnet/RawFileRequestRewriter.cs | using System;
using System.Text.RegularExpressions;
using System.Web;
namespace Cassette.Aspnet
{
public class RawFileRequestRewriter
{
readonly HttpContextBase context;
readonly IFileAccessAuthorization fileAccessAuthorization;
readonly HttpRequestBase request;
pu... | using System;
using System.Text.RegularExpressions;
using System.Web;
namespace Cassette.Aspnet
{
public class RawFileRequestRewriter
{
readonly HttpContextBase context;
readonly IFileAccessAuthorization fileAccessAuthorization;
readonly HttpRequestBase request;
pu... | mit | C# |
93bb3a5f4221a9a9505ffffc79821ad375a14e0a | fix configuration ctor change | Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen | Dashen.Tests/DashenConfigurationTests.cs | Dashen.Tests/DashenConfigurationTests.cs | using System.IO;
using System.Linq;
using System.Text;
using Dashen.Endpoints.Static;
using Dashen.Endpoints.Static.ContentProviders;
using Dashen.Infrastructure;
using Dashen.Initialisation;
using Shouldly;
using Xunit;
namespace Dashen.Tests
{
public class DashenConfigurationTests
{
[Fact]
public void EnableC... | using System.IO;
using System.Linq;
using System.Text;
using Dashen.Endpoints.Static;
using Dashen.Endpoints.Static.ContentProviders;
using Dashen.Infrastructure;
using Dashen.Initialisation;
using Shouldly;
using Xunit;
namespace Dashen.Tests
{
public class DashenConfigurationTests
{
[Fact]
public void EnableC... | lgpl-2.1 | C# |
2d7e461d7eb581c8e05164791096e78880d25b78 | Remove unneed ToString (on string) | takenet/lime-csharp | src/Lime.Protocol/Network/EnvelopeTooLargeException.cs | src/Lime.Protocol/Network/EnvelopeTooLargeException.cs | using System;
namespace Lime.Protocol.Network
{
public class EnvelopeTooLargeException : Exception
{
public EnvelopeTooLargeException()
: base()
{
}
public EnvelopeTooLargeException(string message)
: base(message)
{
}
public Env... | using System;
namespace Lime.Protocol.Network
{
public class EnvelopeTooLargeException : Exception
{
public EnvelopeTooLargeException()
: base()
{
}
public EnvelopeTooLargeException(string message)
: base(message)
{
}
public Env... | apache-2.0 | C# |
7acf464e0a2107c1d5054488a6219bc85ec5e009 | Kill unneeded special case. | arlobelshee/Fools.net,Minions/Fools.net | src/Core/Gibberish.Tests/ZzTestHelpers/RecognitionAssertions.cs | src/Core/Gibberish.Tests/ZzTestHelpers/RecognitionAssertions.cs | using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using FluentAssertions.Primitives;
using Gibberish.AST;
using JetBrains.Annotations;
namespace Gibberish.Tests.ZzTestHelpers
{
internal class RecognitionAssertions<TConstruct> : ObjectAssertions
{
public RecognitionAssertions(bool success... | using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using FluentAssertions.Primitives;
using Gibberish.AST;
using JetBrains.Annotations;
namespace Gibberish.Tests.ZzTestHelpers
{
internal class RecognitionAssertions<TConstruct> : ObjectAssertions
{
public RecognitionAssertions(bool success... | bsd-3-clause | C# |
b10af6eb4770b2bcefa9b7edfc1099bb11c413ac | stop animation on loss | NitorInc/NitoriWare,Barleytree/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare | Assets/Microgames/KnifeDodge/Scripts/KnifeDodgeKnife.cs | Assets/Microgames/KnifeDodge/Scripts/KnifeDodgeKnife.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class KnifeDodgeKnife : MonoBehaviour {
Vector3 facingDirection;
int state;
bool tilted;
public float knifeSpeed = 40.0f;
public float knifeRotationSpeed = 1.0f;
public enum KnifeState
{
FLYING_IN,
... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class KnifeDodgeKnife : MonoBehaviour {
Vector3 facingDirection;
int state;
bool tilted;
public float knifeSpeed = 40.0f;
public float knifeRotationSpeed = 1.0f;
public enum KnifeState
{
FLYING_IN,
... | mit | C# |
194dc7c543b368f8f5725c0b728bb626b0d74b16 | change level 2 boss split | Dalet/140-speedrun-timer,Dalet/140-speedrun-timer,Dalet/140-speedrun-timer | 140-speedrun-timer/GameObservers/Level2BossObserver.cs | 140-speedrun-timer/GameObservers/Level2BossObserver.cs | using System.Reflection;
using UnityEngine;
namespace SpeedrunTimerMod.GameObservers
{
[GameObserver]
class Level2BossObserver : MonoBehaviour
{
TunnelBossEndSequence _tunnelSequence;
bool _checkScrollEnded;
void Awake()
{
if (!Application.loadedLevelName.StartsWith("Level2_"))
{
Destroy(this);
... | using UnityEngine;
namespace SpeedrunTimerMod.GameObservers
{
[GameObserver]
class Level2BossObserver : MonoBehaviour
{
MyCharacterController _player;
TunnelBossEndSequence _tunnelSequence;
void Awake()
{
if (!Application.loadedLevelName.StartsWith("Level2_"))
{
Destroy(this);
return;
}
... | unlicense | C# |
688982337f5f195705c453e8e5621c1b7578aaaf | Fix meetup display date | DotNetRu/App,DotNetRu/App | DotNetRu.DataStore.Audit/Extensions/MeetupExtensions.cs | DotNetRu.DataStore.Audit/Extensions/MeetupExtensions.cs | namespace DotNetRu.DataStore.Audit.Extensions
{
using System.Linq;
using DotNetRu.DataStore.Audit.Models;
using DotNetRu.DataStore.Audit.RealmModels;
public static class MeetupExtensions
{
public static MeetupModel ToModel(this Meetup meetup)
{
return new MeetupModel
... | namespace DotNetRu.DataStore.Audit.Extensions
{
using System.Linq;
using DotNetRu.DataStore.Audit.Models;
using DotNetRu.DataStore.Audit.RealmModels;
public static class MeetupExtensions
{
public static MeetupModel ToModel(this Meetup meetup)
{
return new MeetupModel
... | mit | C# |
c8a0054baccf0a579f93fb34f61b7ac6763398f1 | revert config | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | Spa2/NakedObjects.Spa.Selenium.Test/tests/TestConfig.cs | Spa2/NakedObjects.Spa.Selenium.Test/tests/TestConfig.cs |
namespace NakedObjects.Selenium
{
public static class TestConfig
{
//public const string BaseUrl = "http://localhost:49998/";
public const string BaseUrl = "http://nakedobjectstest2.azurewebsites.net/";
}
}
|
namespace NakedObjects.Selenium
{
public static class TestConfig
{
public const string BaseUrl = "http://localhost:49998/";
//public const string BaseUrl = "http://nakedobjectstest2.azurewebsites.net/";
}
}
| apache-2.0 | C# |
710354895a812f7142a2a43c4c29cba9296ecbc7 | Fix change that broke updating the setting. | devworx-au/Devworx.CodePrettify,devworx-au/Devworx.CodePrettify | Views/EditorTemplates/Parts/CodePrettifySettings.cshtml | Views/EditorTemplates/Parts/CodePrettifySettings.cshtml | @model Devworx.CodePrettify.ViewModels.CodePrettifySettingsViewModel
<fieldset>
<legend>@T("Code Prettify")</legend>
<div>
@Html.CheckBox("UseAutoLoader", Model.PrettifySettingsPart.UseAutoLoader)
<label for="CodePrettifySettings_UseAutoLoader" class="forcheckbox">@T("Use default async auto lo... | @model Devworx.CodePrettify.ViewModels.CodePrettifySettingsViewModel
<fieldset>
<legend>@T("Code Prettify")</legend>
<div>
@Html.EditorFor(m => m.PrettifySettingsPart.UseAutoLoader)
<label for="@Html.FieldIdFor(m => m.PrettifySettingsPart.UseAutoLoader)" class="forcheckbox">@T("Use default asy... | mit | C# |
264eb00e9fab1384106ad018aff66e3ab3fed8a1 | use the new method of registering middleware | kerryjiang/SuperSocket,kerryjiang/SuperSocket,memleaks/SuperSocket | src/SuperSocket.Command/CommandMiddlewareExtensions.cs | src/SuperSocket.Command/CommandMiddlewareExtensions.cs | using System;
namespace SuperSocket.Command
{
public static class CommandMiddlewareExtensions
{
public static void UseCommand<TKey, TPackageInfo>(this IServer server)
where TPackageInfo : IKeyedPackageInfo<TKey>
{
server.UseMiddleware<CommandMiddleware<TKey, TPackageInf... | using System;
namespace SuperSocket.Command
{
public static class CommandMiddlewareExtensions
{
public static void UseCommand<TKey, TPackageInfo>(this IServer server)
where TPackageInfo : IKeyedPackageInfo<TKey>
{
server.Use<CommandMiddleware<TKey, TPackageInfo>>();
... | apache-2.0 | C# |
dcdc291f8377ee3684928504cf447bc625c65cef | Remove skill association from ApplicationUser (not ready for that yet) | dangle1/allReady,GProulx/allReady,jonatwabash/allReady,gitChuckD/allReady,kmlewis/allReady,JowenMei/allReady,mikesigs/allReady,timstarbuck/allReady,enderdickerson/allReady,jonatwabash/allReady,stevejgordon/allReady,aliiftikhar/allReady,c0g1t8/allReady,MisterJames/allReady,MisterJames/allReady,BillWagner/allReady,mhegge... | AllReadyApp/Web-App/AllReady/Models/ApplicationUser.cs | AllReadyApp/Web-App/AllReady/Models/ApplicationUser.cs | using Microsoft.AspNet.Identity.EntityFramework;
namespace AllReady.Models
{
// Add profile data for application users by adding properties to the ApplicationUser class
public class ApplicationUser : IdentityUser
{
}
}
| using Microsoft.AspNet.Identity.EntityFramework;
using System.Collections.Generic;
namespace AllReady.Models
{
// Add profile data for application users by adding properties to the ApplicationUser class
public class ApplicationUser : IdentityUser
{
public List<Skill> AssociatedSkills { get; set; }
... | mit | C# |
8b4354cfe90068112e2806e57bdf63da10ff09e8 | Manage account page wip | peterblazejewicz/aspnet-5-bootstrap-4,peterblazejewicz/aspnet-5-bootstrap-4 | mvc-individual-authentication/Views/Manage/Index.cshtml | mvc-individual-authentication/Views/Manage/Index.cshtml | @model IndexViewModel
@{
ViewData["Title"] = "Profile";
ViewData.AddActivePage(ManageNavPages.Index);
}
<h4>@ViewData["Title"]</h4>
@Html.Partial("_StatusMessage", Model.StatusMessage)
<div class="row">
<div class="col-md-6">
<form id="manageAccountForm" method="post">
<div ... | @model IndexViewModel
@{
ViewData["Title"] = "Profile";
ViewData.AddActivePage(ManageNavPages.Index);
}
<h4>@ViewData["Title"]</h4>
@Html.Partial("_StatusMessage", Model.StatusMessage)
<div class="row">
<div class="col-md-6">
<form method="post">
<div asp-validation-summary=... | mit | C# |
bd631e7421efa92cbbb09b69b7ef74ab97b7c0a8 | Add documentation for genres module. | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Modules/TraktGenresModule.cs | Source/Lib/TraktApiSharp/Modules/TraktGenresModule.cs | namespace TraktApiSharp.Modules
{
using Enums;
using Objects.Basic;
using Requests.WithoutOAuth.Genres;
using System.Collections.Generic;
using System.Threading.Tasks;
/// <summary>
/// Provides access to data retrieving methods specific to genres.
/// <para>
/// This module contai... | namespace TraktApiSharp.Modules
{
using Enums;
using Objects.Basic;
using Requests.WithoutOAuth.Genres;
using System.Collections.Generic;
using System.Threading.Tasks;
public class TraktGenresModule : TraktBaseModule
{
internal TraktGenresModule(TraktClient client) : base(client) {... | mit | C# |
ee35a3493bb8e45cd7c9bb78aa5e72d9dfd5cb23 | Add a new field to JobType + refactor its respective Controller | patsy02/KompetansetorgetServer,patsy02/KompetansetorgetServer,patsy02/KompetansetorgetServer | KompetansetorgetServer/Models/JobType.cs | KompetansetorgetServer/Models/JobType.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace KompetansetorgetServer.Models
{
/// <summary>
/// This Class maps a table that represents jobs types like fulltime, p... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace KompetansetorgetServer.Models
{
/// <summary>
/// This Class maps a table that represents jobs types like fulltime, p... | artistic-2.0 | C# |
c9aad50d190c938ccc7fad1e79a7a0869dfb7af1 | Fix AddFiresContentChangedEvent - make base type abstract | unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,mmoening/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,mmoening/MatterControl,jlewin/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterC... | Library/Providers/MatterControl/PlatingHistoryContainer.cs | Library/Providers/MatterControl/PlatingHistoryContainer.cs | /*
Copyright (c) 2018, 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 the following ... | /*
Copyright (c) 2018, 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 the following ... | bsd-2-clause | C# |
e41d396293a26f174da3e9e9eba0b0a02ad18a9c | Update assembly version | TesserisPro/ASP.NET-SImple-Security-Provider | Tesseris.Web.SimpleSecurity/Properties/AssemblyInfo.cs | Tesseris.Web.SimpleSecurity/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("Te... | 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("Te... | mit | C# |
44ed0e9ab4b274f89222b17ba0697a4bcfa1209a | Add test for JsonService.GetValue() | arthurrump/Zermelo.API | Zermelo/Zermelo.API.Tests/Services/JsonServiceTests.cs | Zermelo/Zermelo.API.Tests/Services/JsonServiceTests.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Zermelo.API.Services;
namespace Zermelo.API.Tests.Services
{
public class JsonServiceTests
{
[Fact]
public void ShouldDes... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Zermelo.API.Services;
namespace Zermelo.API.Tests.Services
{
public class JsonServiceTests
{
[Fact]
public void ShouldDes... | mit | C# |
4115fb747f5a825efb571f690d9e5919a3664a97 | Add pfx private key instructions | tresf/qz-print,cbondo/qz-print,tresf/qz-print,gillg/qz-print,gillg/qz-print,qzind/qz-print,gillg/qz-print,dsanders11/qz-print,lzpfmh/qz-print,lzpfmh/qz-print,tresf/qz-print,qzind/qz-print,cbondo/qz-print,tresf/qz-print,dsanders11/qz-print,qzind/qz-print,cbondo/qz-print,tresf/qz-print,tresf/qz-print,gillg/qz-print,dsand... | assets/signing/sign-message.cs | assets/signing/sign-message.cs | /**
* Echoes the signed message and exits
*/
public void SignMessage(String message)
{
// #########################################################
// # WARNING WARNING WARNING #
// #########################################################
// # ... | /**
* Echoes the signed message and exits
*/
public void SignMessage(String message)
{
// #########################################################
// # WARNING WARNING WARNING #
// #########################################################
// # ... | lgpl-2.1 | C# |
b6f157e3ab4e9a4716f24c515f370f8a56d4f1c6 | check to avoid tricky redirects | appharbor/AppHarbor.Web.Security | AuthenticationExample.Web/Controllers/SessionController.cs | AuthenticationExample.Web/Controllers/SessionController.cs | using System;
using System.Linq;
using System.Web.Mvc;
using AppHarbor.Web.Security;
using AuthenticationExample.Web.Model;
using AuthenticationExample.Web.PersistenceSupport;
using AuthenticationExample.Web.ViewModels;
namespace AuthenticationExample.Web.Controllers
{
public class SessionController : Controller
{
... | using System.Linq;
using System.Web.Mvc;
using AppHarbor.Web.Security;
using AuthenticationExample.Web.Model;
using AuthenticationExample.Web.PersistenceSupport;
using AuthenticationExample.Web.ViewModels;
namespace AuthenticationExample.Web.Controllers
{
public class SessionController : Controller
{
private read... | mit | C# |
8b2ac545f3da4425b7126cb6f85c5c52b7b5092e | Update example using Unsubscribe. | hschaeidt/unity-mediator | Assets/Letscode/Signal/Example/Scripts/PillSpawner.cs | Assets/Letscode/Signal/Example/Scripts/PillSpawner.cs | using UnityEngine;
using System.Collections.Generic;
using Letscode.Signal;
public class PillSpawner : MonoBehaviour {
string eventSpawn = "Spawn";
string eventAttach = "Attach";
bool attached = false;
void Start ()
{
Mediator.Subscribe (eventAttach, Attach);
}
void Attach(object sender, Dictionary<string,... | using UnityEngine;
using System.Collections.Generic;
using Letscode.Signal;
public class PillSpawner : MonoBehaviour {
string eventSpawn = "Spawn";
bool attached = false;
void Start ()
{
Mediator.Subscribe ("Attach", Attach);
}
void Attach(object sender, Dictionary<string, object> args)
{
if (!attached) ... | mit | C# |
e48a7ba905bc0454f793a645b4c8f27883c8cf1d | Update AssemblyInfo.cs | Esri/workflowmanager-samples,Esri/workflowmanager-samples,Esri/workflowmanager-samples | ClearAOIContextMenu/CSharp/Properties/AssemblyInfo.cs | ClearAOIContextMenu/CSharp/Properties/AssemblyInfo.cs | /*Copyright 2015 Esri
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 agreed to in writing, software
distributed unde... | 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("Cl... | apache-2.0 | C# |
f62229ab84df077566cee49d9d566649e9fb4827 | Update iOSAccelerometerProbe.cs | predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus | Sensus.iOS.Shared/Probes/Movement/iOSAccelerometerProbe.cs | Sensus.iOS.Shared/Probes/Movement/iOSAccelerometerProbe.cs | // Copyright 2014 The Rector & Visitors of the University of Virginia
//
// 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 re... | // Copyright 2014 The Rector & Visitors of the University of Virginia
//
// 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 re... | apache-2.0 | C# |
cb9dad286f43e6af34d9df3f1455dbadf57b3cda | Add desktop check and documentation to CapturePhotoConfirmation. | sharpdx/SharpDX,waltdestler/SharpDX,dazerdude/SharpDX,waltdestler/SharpDX,sharpdx/SharpDX,andrewst/SharpDX,andrewst/SharpDX,dazerdude/SharpDX,sharpdx/SharpDX,mrvux/SharpDX,mrvux/SharpDX,andrewst/SharpDX,dazerdude/SharpDX,mrvux/SharpDX,waltdestler/SharpDX,waltdestler/SharpDX,dazerdude/SharpDX | Source/SharpDX.MediaFoundation/CapturePhotoConfirmation.cs | Source/SharpDX.MediaFoundation/CapturePhotoConfirmation.cs | #if DESKTOP_APP
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SharpDX.MediaFoundation
{
public partial class CapturePhotoConfirmation
{
/// <summary>
/// No documentation.
/// </summary>
/// <par... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SharpDX.MediaFoundation
{
public partial class CapturePhotoConfirmation
{
public IAsyncCallback PhotoConfirmationCallback
{
set
{
... | mit | C# |
661e2936d9258e220e8ec93fe7934450a2f2db7a | Add documentation comment | yfakariya/NLiblet,yfakariya/NLiblet | src/CoreUtilities/Collections/ArraySegmentExtensions.cs | src/CoreUtilities/Collections/ArraySegmentExtensions.cs | #region -- License Terms --
//
// NLiblet
//
// Copyright (C) 2011 FUJIWARA, Yusuke
//
// 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/L... | #region -- License Terms --
//
// NLiblet
//
// Copyright (C) 2011 FUJIWARA, Yusuke
//
// 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/L... | apache-2.0 | C# |
422aa9eb3d081a4b92b10889904920f5fe4a5753 | remove unused override method ToString. | icsharp/Hangfire.RecurringJobExtensions | src/Hangfire.RecurringJobExtensions/RecurringJobInfo.cs | src/Hangfire.RecurringJobExtensions/RecurringJobInfo.cs | using System;
using System.Collections.Generic;
using System.Reflection;
namespace Hangfire.RecurringJobExtensions
{
/// <summary>
/// It is used to build <see cref="RecurringJob"/>
/// with <see cref="IRecurringJobBuilder.Build(Func{System.Collections.Generic.IEnumerable{RecurringJobInfo}})"/>.
/// </summary>
... | using System;
using System.Collections.Generic;
using System.Reflection;
namespace Hangfire.RecurringJobExtensions
{
/// <summary>
/// It is used to build <see cref="RecurringJob"/>
/// with <see cref="IRecurringJobBuilder.Build(Func{System.Collections.Generic.IEnumerable{RecurringJobInfo}})"/>.
/// </summary>
... | mit | C# |
424492d20bcf3a84b7c933974cff32db2c0a5dc7 | Update version to 1.71 | tjeerdhans/proxyunsetter | ProxyUnsetter/Properties/AssemblyInfo.cs | ProxyUnsetter/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("Pro... | 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("Pro... | mit | C# |
4f9e1e4945d002ea20a35855bd2bcdd160aa50eb | Check for new components every one second to handle late loaders | NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu | osu.Game/Skinning/Editor/SkinBlueprintContainer.cs | osu.Game/Skinning/Editor/SkinBlueprintContainer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using osu.Framework.Graphics;
using osu.Framework.Testing;
using osu.Game.Rulesets.Edit;
using osu.Game.Screens.Edit.Compose.Components;
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 System.Linq;
using osu.Framework.Graphics;
using osu.Framework.Testing;
using osu.Game.Rulesets.Edit;
using osu.Game.Screens.Edit.Compose.Components;
using osu.Game... | mit | C# |
98e773ab8ad11b077e7d04be93e0dd219d123262 | Remove comment, expanding the hittable area is possible | jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,grokys/Perspex,Perspex/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,Su... | src/Avalonia.Visuals/Rendering/ICustomSimpleHitTest.cs | src/Avalonia.Visuals/Rendering/ICustomSimpleHitTest.cs | using System.Collections.Generic;
using System.Linq;
using Avalonia.VisualTree;
namespace Avalonia.Rendering
{
/// <summary>
/// An interface to allow non-templated controls to customize their hit-testing
/// when using a renderer with a simple hit-testing algorithm without a scene graph,
/// such as <... | using System.Collections.Generic;
using System.Linq;
using Avalonia.VisualTree;
namespace Avalonia.Rendering
{
/// <summary>
/// An interface to allow non-templated controls to customize their hit-testing
/// when using a renderer with a simple hit-testing algorithm without a scene graph,
/// such as <... | mit | C# |
05be369bb335f158b697ad58033bf015d8160f22 | Remove unused code | altmann/CherrySeed | src/CherrySeed.Test/Infrastructure/CherrySeedDriver.cs | src/CherrySeed.Test/Infrastructure/CherrySeedDriver.cs | using System;
using System.Collections.Generic;
using CherrySeed.Configuration;
using CherrySeed.EntityDataProvider;
using CherrySeed.Repositories;
using CherrySeed.Test.Mocks;
namespace CherrySeed.Test.Infrastructure
{
public class CherrySeedDriver
{
private ICherrySeeder _cherrySeeder;
... | using System;
using System.Collections.Generic;
using CherrySeed.Configuration;
using CherrySeed.EntityDataProvider;
using CherrySeed.Repositories;
using CherrySeed.Test.Mocks;
namespace CherrySeed.Test.Infrastructure
{
public class CherrySeedDriver
{
private ICherrySeeder _cherrySeeder;
publ... | mit | C# |
0920c5e5aeac3a1b2c40c51fabe501bd88536d4b | Fix Typo | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Tabs/WalletManager/ReceiveTabViewModel.cs | WalletWasabi.Gui/Tabs/WalletManager/ReceiveTabViewModel.cs | using ReactiveUI;
using System.Collections.ObjectModel;
using System.Linq;
using WalletWasabi.Gui.ViewModels;
using WalletWasabi.KeyManagement;
namespace WalletWasabi.Gui.Tabs.WalletManager
{
internal class ReceiveTabViewModel : WasabiDocumentTabViewModel
{
private string _walletName;
private ObservableCollecti... | using ReactiveUI;
using System.Collections.ObjectModel;
using System.Linq;
using WalletWasabi.Gui.ViewModels;
using WalletWasabi.KeyManagement;
namespace WalletWasabi.Gui.Tabs.WalletManager
{
internal class ReceiveTabViewModel : WasabiDocumentTabViewModel
{
private string _walletName;
private ObservableCollecti... | mit | C# |
a9df190c5a03c3897d1aafe1b5c244b7b871791b | Increment build -> v0.1.2 | awseward/Bugsnag.NET,awseward/Bugsnag.NET | Bugsnag.NET/Properties/AssemblyInfo.cs | Bugsnag.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("Bu... | 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("Bu... | mit | C# |
78cb708a02f79fc0c0746e8b259ff91780a79889 | Bump framework version to 1.3.4 | hotelde/regtesting | RegTesting.Tests.Framework/Properties/AssemblyInfo.cs | RegTesting.Tests.Framework/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("RegTesting.Tests.Framework")]
[assembly:... | 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("Re... | apache-2.0 | C# |
af3fdc12ed3e51a83a80cb3b0eae87dfb9c9079d | remove floaty death and reimu keeps momentum when hit by knife | Barleytree/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare | Assets/Microgames/KnifeDodge/Scripts/KnifeDodgeReimu.cs | Assets/Microgames/KnifeDodge/Scripts/KnifeDodgeReimu.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class KnifeDodgeReimu : MonoBehaviour {
public float speed = 1; // speed in meters per second
public float animSpeed = 1f;
public float animSpeedStopped = 0.25f;
public float killLaunchSpeed = 20.0f;
public GameObject leftBound... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class KnifeDodgeReimu : MonoBehaviour {
public float speed = 1; // speed in meters per second
public float animSpeed = 1f;
public float animSpeedStopped = 0.25f;
public float killLaunchSpeed = 15.0f;
public GameObject leftBound... | mit | C# |
1e35f688de23e59f3385c0f54b87a5ead6d5907f | remove unneeded code | StefanoFiumara/Harry-Potter-Unity | Assets/Editor/HarryPotterExtensions/CardProcessing.cs | Assets/Editor/HarryPotterExtensions/CardProcessing.cs | using System.Linq;
using HarryPotterUnity.Cards.PlayRequirements;
using HarryPotterUnity.DeckGeneration.Requirements;
using JetBrains.Annotations;
using UnityEditor;
using UnityEngine;
namespace HarryPotterExtensions
{
public static class CardProcessing
{
/// <summary>
/// Template for app... | using System.Linq;
using HarryPotterUnity.Cards.PlayRequirements;
using HarryPotterUnity.DeckGeneration.Requirements;
using JetBrains.Annotations;
using UnityEditor;
using UnityEngine;
namespace HarryPotterExtensions
{
public static class CardProcessing
{
/// <summary>
/// Template for app... | mit | C# |
34b96a482dc27039caba48a5a41d8b60d903985b | Update AzureStorageAlias.cs | RadioSystems/Cake.AzureStorage | Cake.AzureStorage/AzureStorageAlias.cs | Cake.AzureStorage/AzureStorageAlias.cs | using System;
using Cake.Core;
using Cake.Core.Annotations;
using Cake.Core.IO;
namespace Cake.AzureStorage {
[CakeAliasCategory("AzureStorage")]
public static class AzureStorageAlias {
[CakeMethodAlias]
public static void UploadFileToBlob(this ICakeContext context, AzureStorageSettings settin... | using System;
using Cake.Core;
using Cake.Core.Annotations;
using Cake.Core.IO;
namespace Cake.AzureStorage {
[CakeAliasCategory("AzureStorage")]
public static class AzureStorageAlias {
[CakeMethodAlias]
[CakeNamespaceImport("Microsoft.WindowsAzure")]
public static void UploadFileToBlo... | apache-2.0 | C# |
78baf6d5d303139b341d85d95907d04f963f44fb | Implement proper history in HearthWindow | theAprel/OptionsDisplay | OptionsDisplay/HearthWindow.cs | OptionsDisplay/HearthWindow.cs | using Hearthstone_Deck_Tracker;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
namespace OptionsDisplay
{
class HearthWindow : InfoWindow
{
private HearthstoneTextBlock info;
private Hearthston... | using Hearthstone_Deck_Tracker;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
namespace OptionsDisplay
{
class HearthWindow : InfoWindow
{
private HearthstoneTextBlock info;
public HearthWind... | agpl-3.0 | C# |
72126e33cf397195ee6678827b2c75169b4dca99 | Update Program.cs | vishipayyallore/CSharp-DotNet-Core-Samples | LearningDesignPatterns/Source/Alogithms/LogicPrograms/Program.cs | LearningDesignPatterns/Source/Alogithms/LogicPrograms/Program.cs | using LogicPrograms.Interfaces;
using LogicPrograms.Logics;
using static System.Console;
namespace LogicPrograms
{
class Program
{
static void Main(string[] args)
{
IMonthNames monthNames = new MonthNames();
monthNames.DisplayMonthNames();
//--------------... | using LogicPrograms.Interfaces;
using LogicPrograms.Logics;
using static System.Console;
namespace LogicPrograms
{
class Program
{
static void Main(string[] args)
{
//------------------------------------------------------------------------------------------
var arrayIt... | apache-2.0 | C# |
c578030a55792ee902735afe73b76331064b8a7a | Remove some methods to try get element, as if an element is not found, Direct2D only returns a zero pointer with a S_Ok hresult | sharpdx/SharpDX,sharpdx/SharpDX,sharpdx/SharpDX | Source/SharpDX.Direct2D1/SvgDocument.cs | Source/SharpDX.Direct2D1/SvgDocument.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SharpDX.Direct2D1
{
public partial class SvgDocument
{
/// <summary>
/// Finds an svg element by id
/// </summary>
/// <param name="id">Id to lookup for</param>
/// <returns>... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SharpDX.Direct2D1
{
public partial class SvgDocument
{
/// <summary>
/// Finds an svg element by id
/// </summary>
/// <param name="id">Id to lookup for</param>
/// <returns>... | mit | C# |
9c643e83df2fe9bca7b8cd6526f4003881fdedb7 | Fix #1 | farity/farity | CSharp.Functional/Enumerable.cs | CSharp.Functional/Enumerable.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace CSharp.Functional
{
public static partial class F
{
public static IEnumerable<int> Range(int start, int end)
=> start > end ? Enumerable.Empty<int>() : Enumerable.Range(start, end - start + 1);
public sta... | using System;
using System.Collections.Generic;
using System.Linq;
namespace CSharp.Functional
{
public static partial class F
{
public static IEnumerable<int> Range(int start, int end) => Enumerable.Range(start, end - start + 1);
public static IList<T> ToList<T>(IEnumerable<T> source) => sou... | mit | C# |
3911f771183d6b2efc9f8c308ba905e001fb5cd7 | Add LICENSE | shiena/DominoesWithBricks | Assets/Scripts/BrickGenerator.cs | Assets/Scripts/BrickGenerator.cs | /*
* Copyright 2017 Mitsuhiro Koga
*
* 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 agreed... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BrickGenerator : MonoBehaviour
{
public GameObject brick;
public Vector3 StartPosition;
public int Count = 29;
// Use this for initialization
void Start()
{
for (int index = 0; index < Count... | apache-2.0 | C# |
e8ec943fba2eb2d25e9d9a16418dfffe4daa7672 | fix missing factory setter | dgarage/NBXplorer,dgarage/NBXplorer | NBXplorer.Client/NBXplorerNetwork.cs | NBXplorer.Client/NBXplorerNetwork.cs | using NBitcoin;
using NBXplorer.DerivationStrategy;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace NBXplorer
{
public class NBXplorerNetwork
{
public NBXplorerNetwork(INetworkSet networkSet, NetworkType networkType... | using NBitcoin;
using NBXplorer.DerivationStrategy;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace NBXplorer
{
public class NBXplorerNetwork
{
public NBXplorerNetwork(INetworkSet networkSet, NetworkType networkType... | mit | C# |
d4910e009bc26ae5e8b69b36d391e054f981985f | Bump version number | AnshulYADAV007/Lean,Jay-Jay-D/LeanSTP,AnshulYADAV007/Lean,redmeros/Lean,QuantConnect/Lean,jameschch/Lean,kaffeebrauer/Lean,tomhunter-gh/Lean,StefanoRaggi/Lean,kaffeebrauer/Lean,Jay-Jay-D/LeanSTP,AnshulYADAV007/Lean,QuantConnect/Lean,jameschch/Lean,kaffeebrauer/Lean,young-zhang/Lean,tomhunter-gh/Lean,andrewhart098/Lean,... | Common/Properties/SharedAssemblyInfo.cs | Common/Properties/SharedAssemblyInfo.cs | using System.Reflection;
// common assembly attributes
[assembly: AssemblyDescription("Lean Algorithmic Trading Engine - QuantConnect.com")]
[assembly: AssemblyCopyright("Copyright © 2017")]
[assembly: AssemblyCompany("QuantConnect")]
[assembly: AssemblyTrademark("QuantConnect")]
[assembly: AssemblyVersion("2.3.0.1"... | using System.Reflection;
// common assembly attributes
[assembly: AssemblyDescription("Lean Algorithmic Trading Engine - QuantConnect.com")]
[assembly: AssemblyCopyright("Copyright © 2015")]
[assembly: AssemblyCompany("QuantConnect")]
[assembly: AssemblyTrademark("QuantConnect")]
[assembly: AssemblyVersion("2.2.0.2"... | apache-2.0 | C# |
bcf6cfbfae9230fd77ccbd49cb71786c04ced58e | add comments. | stangelandcl/Actors | Actors.Example/Program.cs | Actors.Example/Program.cs | using System;
namespace Actors.Example
{
class MainClass
{
public static void Main (string[] args)
{
// a node is like an erlang node. it is like a VM. like its own world
var node = new Node();
// listen on port
var server = node.Listen("127.0.0.1", 18222);
// add actor, an actor is like an object... | using System;
namespace Actors.Example
{
class MainClass
{
public static void Main (string[] args)
{
var node = new Node();
var server = node.Listen("127.0.0.1", 18222);
node.Add(new EchoActor("echo"));
var n2 = new Node();
var conn = n2.Connect("127.0.0.1", 18222);
var result = n2.SendReceive... | mit | C# |
04ea8089e72101b1d3a5b7d86b2a62a7a10f5572 | Introduce song duration vriable; Remove old comments; Remove file extension from filename; | HakuTeam/SoundWizard | Playground/IO/Command/OpenCommand.cs | Playground/IO/Command/OpenCommand.cs | namespace Playground.IO.Command
{
using System;
using System.IO;
using System.Windows.Controls;
using System.Windows.Media;
using Microsoft.Win32;
using Microsoft.WindowsAPICodePack.Shell;
using Playground.Core;
using Playground.Interfaces;
public class OpenCommand : Command, IExec... | namespace Playground.IO.Command
{
using System;
using System.IO;
using System.Windows.Controls;
using System.Windows.Media;
using Microsoft.Win32;
using Microsoft.WindowsAPICodePack.Shell;
using Playground.Core;
using Playground.Interfaces;
public class OpenCommand : Command, IExec... | mit | C# |
f3d501a397eb523ad98abf2b1a22ffe7fe1cab49 | add sample for multiline text entry | sevoku/xwt,iainx/xwt,directhex/xwt,cra0zy/xwt,antmicro/xwt,mminns/xwt,hamekoz/xwt,mminns/xwt,steffenWi/xwt,akrisiun/xwt,mono/xwt,hwthomas/xwt,residuum/xwt,lytico/xwt,TheBrainTech/xwt | TestApps/Samples/Samples/TextEntries.cs | TestApps/Samples/Samples/TextEntries.cs | //
// TextEntries.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 restricti... | //
// TextEntries.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 restricti... | mit | C# |
830d65e4abb798ef809509db8ce55e0358f8a7f4 | Put test result back | rippo/CQSMediatorPattern | Cqs.Mediator.Pattern.Mvc/App_Start/RouteConfig.cs | Cqs.Mediator.Pattern.Mvc/App_Start/RouteConfig.cs | using System.Web.Mvc;
using System.Web.Routing;
namespace Cqs.Mediator.Pattern.Mvc
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
"HomePage",
... | using System.Web.Mvc;
using System.Web.Routing;
namespace Cqs.Mediator.Pattern.Mvc
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
"HomePage",
... | mit | C# |
1941c2a54d120aaaf111ed98f878aa58ebec8d16 | clean up dead code | icraftsoftware/BizTalk.Factory,icraftsoftware/BizTalk.Factory,icraftsoftware/BizTalk.Factory | src/BizTalk.Unit/Unit/Resources/ResourceManager.cs | src/BizTalk.Unit/Unit/Resources/ResourceManager.cs | #region Copyright & License
// Copyright © 2012 - 2019 François Chabot
//
// 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
//
/... | #region Copyright & License
// Copyright © 2012 - 2019 François Chabot
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
/... | apache-2.0 | C# |
a0ad8fa3f524fbdd09cfdef3417666a427ae530b | sort the renderLayers, just in case | prime31/Nez,eumario/Nez,prime31/Nez,prime31/Nez,ericmbernier/Nez,Blucky87/Nez | Nez-PCL/Graphics/Renderers/RenderLayerRenderer.cs | Nez-PCL/Graphics/Renderers/RenderLayerRenderer.cs | using System;
using Microsoft.Xna.Framework.Graphics;
namespace Nez
{
/// <summary>
/// Renderer that only renders a single renderLayer. Useful to keep UI rendering separate from the rest of the game when used in conjunction
/// with a RenderLayerRenderer
/// </summary>
public class RenderLayerRenderer : Render... | using System;
using Microsoft.Xna.Framework.Graphics;
namespace Nez
{
/// <summary>
/// Renderer that only renders a single renderLayer. Useful to keep UI rendering separate from the rest of the game when used in conjunction
/// with a RenderLayerRenderer
/// </summary>
public class RenderLayerRenderer : Render... | mit | C# |
c52792c5785aea5a2321e44613095d919b2c37c8 | test bobe | charlesfarmer/sylvain,charlesfarmer/sylvain,charlesfarmer/sylvain | ProjetSylvain/ControlCoordonées/ControleLogin.cs | ProjetSylvain/ControlCoordonées/ControleLogin.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace ControlCoordonées
{
public partial class ControleLogin : UserControl
{
#region constructor
public Co... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace ControlCoordonées
{
public partial class ControleLogin : UserControl
{
#region constructor
public Co... | unlicense | C# |
43c4e4c5ba7de98a813d30e2bdb87f4081c20723 | Update demo | sunkaixuan/SqlSugar | Src/Asp.NetCore2/SqlSeverTest/PgSqlTest/Config.cs | Src/Asp.NetCore2/SqlSeverTest/PgSqlTest/Config.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrmTest
{
/// <summary>
/// Setting up the database name does not require you to create the database
/// 设置好数据库名不需要你去手动建库
/// </summary>
public class Config
{
/... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrmTest
{
/// <summary>
/// Setting up the database name does not require you to create the database
/// 设置好数据库名不需要你去手动建库
/// </summary>
public class Config
{
/... | apache-2.0 | C# |
ea31af7a56045c81f01207f2e9bc493a17d25aa4 | Add ChessGame parameter to IsValidDestination | ProgramFOX/Chess.NET | ChessDotNet/ChessPiece.cs | ChessDotNet/ChessPiece.cs | namespace ChessDotNet
{
public abstract class ChessPiece
{
public abstract Player Owner
{
get;
set;
}
public override bool Equals(object obj)
{
if (ReferenceEquals(this, obj))
return true;
if (obj == null |... | namespace ChessDotNet
{
public abstract class ChessPiece
{
public abstract Player Owner
{
get;
set;
}
public override bool Equals(object obj)
{
if (ReferenceEquals(this, obj))
return true;
if (obj == null |... | mit | C# |
7367dc92ffc9b2a593c2952cef972603f850e091 | fix in nuget restore "syntax" | vvvvpm/vpm,vvvvpm/vpm,vvvvpm/vpm | vpdb/velcrome/Message/github.mdreffix.csx | vpdb/velcrome/Message/github.mdreffix.csx | GitClone("https://github.com/microdee/vvvv-Message.git", Pack.TempDir);
BuildSolution(
2013,
Pack.TempDir + "\\src\\vvvv-Message.sln", "Release|" + VVVV.Architecture,
restorenugets = true
);
CopyDir(
Pack.TempDir + "\\build\\" + VVVV.Architecture + "\\Release",
VVVV.Dir + "\\packs\\vvvv-Message"
);
Copy... | GitClone("https://github.com/microdee/vvvv-Message.git", Pack.TempDir);
BuildSolution(2013, Pack.TempDir + "\\src\\vvvv-Message.sln", "Release|" + VVVV.Architecture, true);
CopyDir(
Pack.TempDir + "\\build\\" + VVVV.Architecture + "\\Release",
VVVV.Dir + "\\packs\\vvvv-Message"
);
CopyDir(
Pack.TempDir + "\\build\... | mit | C# |
3498401eb321b1ab3e887f38892098c7b01c12c6 | bump version | samiy-xx/keysndr,samiy-xx/keysndr,samiy-xx/keysndr | KeySndr.Base/Properties/AssemblyInfo.cs | KeySndr.Base/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("Ke... | 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("Ke... | mit | C# |
11f63603850c911d37f8ad200cd9cae4325a59cf | Check for header before removing it | RonaldValkenburg/AutoHeader | Source/Options/RemoveHeaderOption.cs | Source/Options/RemoveHeaderOption.cs | using System;
using System.IO;
using System.Linq;
namespace AutoHeader.Options
{
public class RemoveHeaderOption : Option
{
public override void Execute()
{
Console.WriteLine("Execute \'RemoveHeaderOption\': {0}", Arg);
if (!Directory.Exists(Arg))
{
... | using System;
using System.IO;
using System.Linq;
namespace AutoHeader.Options
{
public class RemoveHeaderOption : Option
{
public override void Execute()
{
Console.WriteLine("Execute \'RemoveHeaderOption\': {0}", Arg);
if (!Directory.Exists(Arg))
{
... | mit | C# |
0e97c8fc27ec69d4d9ddd46ceff29ca21540bfa7 | Change color to be more visible | k-t/SharpHaven | MonoHaven.Client/UI/Widgets/Progress.cs | MonoHaven.Client/UI/Widgets/Progress.cs | using System.Drawing;
using MonoHaven.Graphics;
using MonoHaven.Graphics.Text;
namespace MonoHaven.UI.Widgets
{
public class Progress : Widget
{
private readonly TextLine textLine;
private int value;
public Progress(Widget parent) : base(parent)
{
textLine = new TextLine(Fonts.LabelText);
textLine.Te... | using System.Drawing;
using MonoHaven.Graphics;
using MonoHaven.Graphics.Text;
namespace MonoHaven.UI.Widgets
{
public class Progress : Widget
{
private readonly TextLine textLine;
private int value;
public Progress(Widget parent) : base(parent)
{
textLine = new TextLine(Fonts.LabelText);
textLine.Te... | mit | C# |
3b530fb1fc5a048fae76a561203e196bc2db68d1 | Clean Scratchpad | KirillShlenskiy/Kirkin,KirillShlenskiy/Kirkin,KirillShlenskiy/Kirkin | src/Kirkin.Tests/Scratchpad.cs | src/Kirkin.Tests/Scratchpad.cs | using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Kirkin.Logging;
using Xunit;
using Xunit.Abstractions;
n... | using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Kirkin.Logging;
using Kirkin.Reflection;
using Xunit;
usi... | mit | C# |
62db6a53c29100b98b1575efab5a3ac121472016 | Add AssemblyHash.CreatePublicKeyToken() method | 0xd4d/dnlib,Arthur2e5/dnlib,ZixiangBoy/dnlib,modulexcite/dnlib,kiootic/dnlib,yck1509/dnlib,jorik041/dnlib,picrap/dnlib,ilkerhalil/dnlib | dot10/dotNET/Types/AssemblyHash.cs | dot10/dotNET/Types/AssemblyHash.cs | using System.Security.Cryptography;
namespace dot10.dotNET.Types {
/// <summary>
/// Hashes some data according to a <see cref="AssemblyHashAlgorithm"/>
/// </summary>
static class AssemblyHash {
/// <summary>
/// Hash data
/// </summary>
/// <remarks>If <paramref name="hashAlgo"/> is an unsupported hash ... | using System.Security.Cryptography;
namespace dot10.dotNET.Types {
/// <summary>
/// Hashes some data according to a <see cref="AssemblyHashAlgorithm"/>
/// </summary>
static class AssemblyHash {
/// <summary>
/// Hash data
/// </summary>
/// <remarks>If <paramref name="hashAlgo"/> is an unsupported hash ... | mit | C# |
7857ae6b8d0a6db86312e618b16d8e409a1fcd79 | Use Pascal case | mstrother/BmpListener | BmpListener/Serialization/BmpSerializer.cs | BmpListener/Serialization/BmpSerializer.cs | using BmpListener.Bmp;
using BmpListener.Serialization.JsonConverters;
using BmpListener.Serialization.Models;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Serialization;
namespace BmpListener.Serialization
{
public static class BmpSerializer
{
static BmpSerializer()
... | using BmpListener.Bmp;
using BmpListener.Serialization.JsonConverters;
using BmpListener.Serialization.Models;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Serialization;
namespace BmpListener.Serialization
{
public static class BmpSerializer
{
static BmpSerializer()
... | mit | C# |
717c5bc74c6afed98e8e8044dcf194f878a86998 | Update code | sakapon/Samples-2014,sakapon/Samples-2014,sakapon/Samples-2014 | RxSample/MouseRx2Wpf/MainWindow.xaml.cs | RxSample/MouseRx2Wpf/MainWindow.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using S... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using S... | mit | C# |
cd297a4e52b76418819808aab6691d1e34c44365 | Make sure Expiration field is also indexed in the db | CIR2000/Amica.vNext.SimpleCache | SimpleCache.Core/CacheElement.cs | SimpleCache.Core/CacheElement.cs | using System;
using SQLite;
namespace Amica.vNext.SimpleCache
{
class CacheElement
{
[PrimaryKey]
public string Key { get; set; }
[Indexed]
public string TypeName { get; set; }
public byte[] Value { get; set; }
[Indexed]
public DateTime? Expiration { get; set; }
public DateTimeOffset CreatedAt ... | using System;
using SQLite;
namespace Amica.vNext.SimpleCache
{
class CacheElement
{
[PrimaryKey]
public string Key { get; set; }
[Indexed]
public string TypeName { get; set; }
public byte[] Value { get; set; }
public DateTime? Expiration { get; set; }
public DateTimeOffset CreatedAt { get; set;... | bsd-3-clause | C# |
1998c91825164a28d18cd8f471683eda53cd4bc3 | Implement ManagerCollection.GetManager<T>() | tainicom/Aether | Source/Engine/Data/ManagerCollection.cs | Source/Engine/Data/ManagerCollection.cs | #region License
// Copyright 2015 Kastellanos Nikolaos
//
// 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 requi... | #region License
// Copyright 2015 Kastellanos Nikolaos
//
// 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 requi... | apache-2.0 | C# |
0d829a9ea2d1b07232a35345509de3755baf74e7 | Remove redundant method | k-t/SharpHaven | MonoHaven.Client/UI/Remote/ServerWidget.cs | MonoHaven.Client/UI/Remote/ServerWidget.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using MonoHaven.Game;
using MonoHaven.UI.Widgets;
using MonoHaven.Utils;
using NLog;
using OpenTK;
namespace MonoHaven.UI.Remote
{
public abstract class ServerWidget : TreeNode<ServerWidget>, IDisposable
{
private readonly static Logger Log = L... | using System;
using System.Collections.Generic;
using System.Drawing;
using MonoHaven.Game;
using MonoHaven.UI.Widgets;
using MonoHaven.Utils;
using NLog;
using OpenTK;
namespace MonoHaven.UI.Remote
{
public abstract class ServerWidget : TreeNode<ServerWidget>, IDisposable
{
private readonly static Logger Log = L... | mit | C# |
2edf8eb7e3a16575ba932e1dee274222297936d5 | fix default url in flot app | Liwoj/Metrics.NET,DeonHeyns/Metrics.NET,ntent-ad/Metrics.NET,etishor/Metrics.NET,huoxudong125/Metrics.NET,MetaG8/Metrics.NET,Liwoj/Metrics.NET,ntent-ad/Metrics.NET,cvent/Metrics.NET,mnadel/Metrics.NET,DeonHeyns/Metrics.NET,Recognos/Metrics.NET,Recognos/Metrics.NET,etishor/Metrics.NET,cvent/Metrics.NET,mnadel/Metrics.NE... | Src/Metrics/Visualization/FlotWebApp.cs | Src/Metrics/Visualization/FlotWebApp.cs | using System;
using System.IO;
using System.IO.Compression;
using System.Reflection;
namespace Metrics.Visualization
{
public static class FlotWebApp
{
private static string ReadFromEmbededResource()
{
using (var stream = Assembly.GetAssembly(typeof(FlotWebApp)).GetManifestResource... | using System;
using System.IO;
using System.IO.Compression;
using System.Reflection;
namespace Metrics.Visualization
{
public static class FlotWebApp
{
private static string ReadFromEmbededResource()
{
using (var stream = Assembly.GetAssembly(typeof(FlotWebApp)).GetManifestResource... | apache-2.0 | C# |
ce86d7953fc016210b162513efae1f8677a9ad15 | bump version | poma/HotsStats | StatsDisplay/Properties/AssemblyInfo.cs | StatsDisplay/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit | C# |
dda229161fff10d1c3c78d9c0f0848a6e2e86c56 | Update ISerializer.cs | tiksn/TIKSN-Framework | TIKSN.Core/Serialization/ISerializer.cs | TIKSN.Core/Serialization/ISerializer.cs | namespace TIKSN.Serialization
{
/// <summary>
/// Serializer interface
/// </summary>
/// <typeparam name="TSerial">Type to serialize to, usually string or byte array</typeparam>
public interface ISerializer<TSerial> where TSerial : class
{
/// <summary>
/// Serialize to <typepa... | namespace TIKSN.Serialization
{
/// <summary>
/// Serializer interface
/// </summary>
/// <typeparam name="TSerial">Type to serialize to, usually string or byte array</typeparam>
public interface ISerializer<TSerial> where TSerial : class
{
/// <summary>
/// Serialize to <typepa... | mit | C# |
85e66bb65bf257045a135157e7b57f5bd1d5c1ea | Fix FakeStandardValuesProvider instatiation in tests | sergeyshushlyapin/Sitecore.FakeDb | test/Sitecore.FakeDb.Tests/Data/FakeStandardValuesProviderTest.cs | test/Sitecore.FakeDb.Tests/Data/FakeStandardValuesProviderTest.cs | namespace Sitecore.FakeDb.Tests.Data
{
using System;
using FluentAssertions;
using NSubstitute;
using global::AutoFixture.Xunit2;
using Sitecore.Abstractions;
using Sitecore.Data;
using Sitecore.Data.Fields;
using Sitecore.FakeDb.Data;
using Sitecore.FakeDb.Data.Engines;
using Si... | namespace Sitecore.FakeDb.Tests.Data
{
using System;
using FluentAssertions;
using NSubstitute;
using global::AutoFixture.Xunit2;
using Sitecore.Data;
using Sitecore.Data.Fields;
using Sitecore.FakeDb.Data;
using Sitecore.FakeDb.Data.Engines;
using Sitecore.FakeDb.Data.Items;
us... | mit | C# |
a97ffa9a84576d5ef61310d0dec91ef89846e8b4 | Update WalletWasabi/Models/CoinsView.cs | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Models/CoinsView.cs | WalletWasabi/Models/CoinsView.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using NBitcoin;
using WalletWasabi.Helpers;
using WalletWasabi.Models;
namespace WalletWasabi.Models
{
public class CoinsView : IEnumerable<SmartCoin>
{
private IEnumerable<SmartCoin> _coins;
public CoinsView(IEnumerabl... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using NBitcoin;
using WalletWasabi.Helpers;
using WalletWasabi.Models;
namespace WalletWasabi.Gui.Models
{
public class CoinsView : IEnumerable<SmartCoin>
{
private IEnumerable<SmartCoin> _coins;
public CoinsView(IEnume... | mit | C# |
0873d0078525b24417553276a1eab22f4a27f390 | change versin | chsword/ResizingServer | source/ResizingClient/Properties/AssemblyInfo.cs | source/ResizingClient/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("ResizingClient")]
[assembly: AssemblyDescription("Client for ResizingServer https://github.com/chsword/ResizingServer")]
[assembly: AssemblyCo... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("ResizingClient")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: Assembl... | apache-2.0 | C# |
8ebd720a9a04ef7b592d2be167e2580e5de38f0a | Fix bug when click exit program but HttpListener didn't stop | witoong623/TirkxDownloader,witoong623/TirkxDownloader | Models/MessageReciever.cs | Models/MessageReciever.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Text;
using System.Threading;
using Caliburn.Micro;
using Newtonsoft.Json;
using TirkxDownloader.ViewModels;
using TirkxDownloader.Framework;
namespace TirkxDownloader.Models
{
public class MessageReciever
{
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Text;
using System.Threading;
using Caliburn.Micro;
using Newtonsoft.Json;
using TirkxDownloader.ViewModels;
using TirkxDownloader.Framework;
namespace TirkxDownloader.Models
{
public class MessageReciever
{
... | mit | C# |
454aeef75b33493bf63a67bd2949cb7dbee26bb5 | Allow FeaturesInstaller to install additional sources | Miruken-DotNet/Miruken | Source/Miruken.Castle/FeaturesInstaller.cs | Source/Miruken.Castle/FeaturesInstaller.cs | namespace Miruken.Castle
{
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using global::Castle.MicroKernel.Registration;
using global::Castle.MicroKernel.SubSystems.Configuration;
using global::Castle.Windsor;
public class FeaturesInstaller : IWindsorInstaller... | namespace Miruken.Castle
{
using System.Collections.Generic;
using System.Linq;
using global::Castle.MicroKernel.Registration;
using global::Castle.MicroKernel.SubSystems.Configuration;
using global::Castle.Windsor;
public class FeaturesInstaller : IWindsorInstaller
{
private reado... | mit | C# |
9bd7941d31771c8b6772535c72e8d9f40e9fa733 | set C# serializer ID to not conflict with Java IDs | asimarslan/hazelcast-csharp-client,asimarslan/hazelcast-csharp-client | Hazelcast.Net/Hazelcast.IO.Serialization/SerializationConstants.cs | Hazelcast.Net/Hazelcast.IO.Serialization/SerializationConstants.cs | // Copyright (c) 2008-2015, Hazelcast, Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required ... | // Copyright (c) 2008-2015, Hazelcast, Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required ... | apache-2.0 | C# |
1d4fc441b908e428378d35d70932c3a9646afbc6 | Revert "Ignore FormatException, that can be caused by an error in the MongoDb.Driver" | sergeyzwezdin/Hangfire.Mongo,persi12/Hangfire.Mongo,sergun/Hangfire.Mongo,sergun/Hangfire.Mongo,sergeyzwezdin/Hangfire.Mongo,sergeyzwezdin/Hangfire.Mongo,persi12/Hangfire.Mongo | src/Hangfire.Mongo/MongoUtils/MongoExtensions.cs | src/Hangfire.Mongo/MongoUtils/MongoExtensions.cs | using Hangfire.Mongo.Database;
using MongoDB.Driver;
using System;
using Hangfire.Mongo.Helpers;
using MongoDB.Bson;
namespace Hangfire.Mongo.MongoUtils
{
/// <summary>
/// Helper utilities to work with Mongo database
/// </summary>
public static class MongoExtensions
{
/// <s... | using Hangfire.Mongo.Database;
using MongoDB.Driver;
using System;
using Hangfire.Mongo.Helpers;
using MongoDB.Bson;
namespace Hangfire.Mongo.MongoUtils
{
/// <summary>
/// Helper utilities to work with Mongo database
/// </summary>
public static class MongoExtensions
{
/// <s... | mit | C# |
ba4912861f822db8d08ae531f4a5ab88b11de458 | Add App Package location sample code | mallibone/Xtc101 | Xtc101.UITest/AppInitializer.cs | Xtc101.UITest/AppInitializer.cs | using Xamarin.UITest;
namespace Xtc101.UITest
{
public class AppInitializer
{
public static IApp StartApp(Platform platform)
{
if (platform == Platform.Android)
{
return ConfigureApp
.Android
// Run Release Android... | using Xamarin.UITest;
namespace Xtc101.UITest
{
public class AppInitializer
{
public static IApp StartApp(Platform platform)
{
if (platform == Platform.Android)
{
return ConfigureApp
.Android
.PreferIdeSettings()
... | mit | C# |
f1eceae3cdd16a9a961ff9268cd3efb52151167c | Fix problem loading image for GraphicsWindow.DrawImage (#98) | OmarTawfik/SuperBasic,OmarTawfik/SuperBasic,OmarTawfik/SuperBasic | Source/SmallBasic.Editor/Libraries/Graphics/ImageGraphicsObject.cs | Source/SmallBasic.Editor/Libraries/Graphics/ImageGraphicsObject.cs | // <copyright file="ImageGraphicsObject.cs" company="2018 Omar Tawfik">
// Copyright (c) 2018 Omar Tawfik. All rights reserved. Licensed under the MIT License. See LICENSE file in the project root for license information.
// </copyright>
namespace SmallBasic.Editor.Libraries.Graphics
{
using System.Collections.Ge... | // <copyright file="ImageGraphicsObject.cs" company="2018 Omar Tawfik">
// Copyright (c) 2018 Omar Tawfik. All rights reserved. Licensed under the MIT License. See LICENSE file in the project root for license information.
// </copyright>
namespace SmallBasic.Editor.Libraries.Graphics
{
using System.Collections.Ge... | mit | C# |
ae416afc0a25a4077f42cf6a92a099e29be43c7e | remove the superfluous registration | eShopWorld/devopsflex-telemetry | src/Eshopworld.Telemetry/Configuration/ServiceFabricTelemetryModule.cs | src/Eshopworld.Telemetry/Configuration/ServiceFabricTelemetryModule.cs | using System.Fabric;
using Autofac;
using Microsoft.ApplicationInsights.Extensibility;
using Microsoft.ApplicationInsights.ServiceFabric;
using Microsoft.ApplicationInsights.ServiceFabric.Module;
namespace Eshopworld.Telemetry.Configuration
{
/// <summary>
/// Registers Service Fabric components of telemetry ... | using System.Fabric;
using Autofac;
using Microsoft.ApplicationInsights.Extensibility;
using Microsoft.ApplicationInsights.ServiceFabric;
using Microsoft.ApplicationInsights.ServiceFabric.Module;
namespace Eshopworld.Telemetry.Configuration
{
/// <summary>
/// Registers Service Fabric components of telemetry ... | mit | C# |
e446dcadfc6c1d1f6eee8ac81752977ea25c08fe | update UseAspectCore extensions | WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common | src/WeihanLi.Common.Aspect.AspectCore/FluentAspectBuilderExtensions.cs | src/WeihanLi.Common.Aspect.AspectCore/FluentAspectBuilderExtensions.cs | using Microsoft.Extensions.DependencyInjection;
using System;
using WeihanLi.Common.DependencyInjection;
namespace WeihanLi.Common.Aspect.AspectCore
{
public static class FluentAspectBuilderExtensions
{
public static IFluentAspectsBuilder UseAspectCoreProxy(this IFluentAspectsBuilder builder)
... | using Microsoft.Extensions.DependencyInjection;
using System;
using WeihanLi.Common.DependencyInjection;
namespace WeihanLi.Common.Aspect.AspectCore
{
public static class FluentAspectBuilderExtensions
{
public static IFluentAspectsBuilder UseAspectCoreProxy(this IFluentAspectsBuilder builder)
... | mit | C# |
cedf36e1b9080fac01905bcf960475a85934b8f6 | Remove accidental partial line | kswoll/WootzJs,x335/WootzJs,kswoll/WootzJs,kswoll/WootzJs,x335/WootzJs,x335/WootzJs | WootzJs.Web/FileReader.cs | WootzJs.Web/FileReader.cs | using System;
using System.Runtime.WootzJs;
namespace WootzJs.Web
{
[Js(Name = "FileReader", Export = false)]
public class FileReader
{
[Js(Name = "error")]
public extern DOMError Error { get; }
[Js(Name = "readyState")]
public extern int ReadyState { get; }
[Js(N... | using System;
using System.Runtime.WootzJs;
namespace WootzJs.Web
{
[Js(Name = "FileReader", Export = false)]
public class FileReader
{
[Js(Name = "error")]
public extern DOMError Error { get; }
[Js(Name = "readyState")]
public extern int ReadyState { get; }
[Js(N... | mit | C# |
a4d1d1bcfa4fffcc07ea7d7c2c8fbd14abe48710 | Fix storage handler for Richtung property and remove unnecessary navigation properties | christophwille/viennarealtime,christophwille/viennarealtime | Source/MundlTransit.WP8/StorageHandlers/LineInfoPageViewModelStorage.cs | Source/MundlTransit.WP8/StorageHandlers/LineInfoPageViewModelStorage.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Caliburn.Micro;
using MundlTransit.WP8.ViewModels.LineInfo;
namespace MundlTransit.WP8.StorageHandlers
{
public class LineInfoPageViewModelStorage : StorageHandler<LineInfoPageViewModel>
{... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Caliburn.Micro;
using MundlTransit.WP8.ViewModels.LineInfo;
namespace MundlTransit.WP8.StorageHandlers
{
public class LineInfoPageViewModelStorage : StorageHandler<LineInfoPageViewModel>
{... | mit | C# |
e1c6d50f33af01abc2af517d00d05e53182582a8 | create action | lastr2d2/guesswhat_wordservice,atwayne/guesswhat_wordservice | WayneStudio.WordService/WayneStudio.WordService/DataStore/WordEngine.cs | WayneStudio.WordService/WayneStudio.WordService/DataStore/WordEngine.cs | using System;
using System.Linq;
using System.Data;
using System.Collections.Generic;
using WayneStudio.WordService.Core;
using WayneStudio.WordService.Models;
using System.Data.SQLite;
namespace WayneStudio.WordService.DataStore
{
public class WordEngine
{
public void AddWords(UpdateWordRequest reque... | using System;
using System.Linq;
using System.Data;
using System.Collections.Generic;
using WayneStudio.WordService.Core;
using WayneStudio.WordService.Models;
namespace WayneStudio.WordService.DataStore
{
public class WordEngine
{
public void AddWords(UpdateWordRequest request)
{
... | apache-2.0 | C# |
3c4c79dcb83d0f2af05f15da28173e91831b47f0 | Implement UnitTest for ReportPageViewModel#Name. | ProjectBlueMonkey/BlueMonkey,ProjectBlueMonkey/BlueMonkey | client/BlueMonkey/BlueMonkey.ViewModel.Tests/ReportPageViewModelTest.cs | client/BlueMonkey/BlueMonkey.ViewModel.Tests/ReportPageViewModelTest.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BlueMonkey.Model;
using BlueMonkey.ViewModels;
using Moq;
using Prism.Navigation;
using Xunit;
namespace BlueMonkey.ViewModel.Tests
{
public class ReportPageViewMo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BlueMonkey.Model;
using BlueMonkey.ViewModels;
using Moq;
using Prism.Navigation;
using Xunit;
namespace BlueMonkey.ViewModel.Tests
{
public class ReportPageViewModelTest
{
[Fact]
... | mit | C# |
e77560eb9d39706bac1a841b34698faeea938e84 | comment more | SnowflakePowered/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake,RonnChyran/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake | src/Snowflake.Framework.Primitives/Execution/Extensibility/IEmulator.cs | src/Snowflake.Framework.Primitives/Execution/Extensibility/IEmulator.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Snowflake.Configuration;
using Snowflake.Configuration.Input;
using Snowflake.Execution.Saving;
using Snowflake.Extensibility;
using Snowflake.Platform;
using Snowflake.Records.Game;
namespace Snowflake.Execution.Ex... | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Snowflake.Configuration;
using Snowflake.Configuration.Input;
using Snowflake.Execution.Saving;
using Snowflake.Extensibility;
using Snowflake.Platform;
using Snowflake.Records.Game;
namespace Snowflake.Execution.Ex... | mpl-2.0 | C# |
f673647e09c9ef93706e1d9c1942ab5f116b0bb4 | refactor usage of Screen | tibel/Caliburn.Light | samples/Demo.SimpleMDI/ShellViewModel.cs | samples/Demo.SimpleMDI/ShellViewModel.cs | using Caliburn.Light;
namespace Demo.SimpleMDI
{
public class ShellViewModel : Conductor<TabViewModel>.Collection.OneActive
{
int _count = 1;
public void OpenTab()
{
var tab = IoC.GetInstance<TabViewModel>();
tab.DisplayName = "Tab " + _count++;
Act... | using Caliburn.Light;
namespace Demo.SimpleMDI
{
public class ShellViewModel : Conductor<Screen>.Collection.OneActive
{
int _count = 1;
public void OpenTab()
{
var tab = IoC.GetInstance<TabViewModel>();
tab.DisplayName = "Tab " + _count++;
ActivateI... | mit | C# |
e20298db61ea37fa1a91eeb34595d71b48608d3e | Write != Read. | dpurge/GitVersion,pascalberger/GitVersion,JakeGinnivan/GitVersion,JakeGinnivan/GitVersion,ermshiperete/GitVersion,ermshiperete/GitVersion,Philo/GitVersion,DanielRose/GitVersion,dpurge/GitVersion,onovotny/GitVersion,DanielRose/GitVersion,ParticularLabs/GitVersion,JakeGinnivan/GitVersion,gep13/GitVersion,dpurge/GitVersio... | src/GitVersionCore/Helpers/FileSystem.cs | src/GitVersionCore/Helpers/FileSystem.cs | namespace GitVersion.Helpers
{
using System.Collections.Generic;
using System.IO;
public class FileSystem : IFileSystem
{
public void Copy(string @from, string to, bool overwrite)
{
File.Copy(from, to, overwrite);
}
public void Move(string @from, string to)
... | namespace GitVersion.Helpers
{
using System.Collections.Generic;
using System.IO;
public class FileSystem : IFileSystem
{
public void Copy(string @from, string to, bool overwrite)
{
File.Copy(from, to, overwrite);
}
public void Move(string @from, string to)
... | mit | C# |
ee8ff6335ccae5267f616054a2d2db6d7a8808a2 | Reduce size of code generated for Contract methods. | stephentoub/corefxlab,stephentoub/corefxlab,ericstj/corefxlab,ericstj/corefxlab,VSadov/corefxlab,ericstj/corefxlab,benaadams/corefxlab,ravimeda/corefxlab,Vedin/corefxlab,ericstj/corefxlab,VSadov/corefxlab,joshfree/corefxlab,VSadov/corefxlab,VSadov/corefxlab,Vedin/corefxlab,VSadov/corefxlab,Vedin/corefxlab,dotnet/corefx... | src/System.Slices/src/System/Contract.cs | src/System.Slices/src/System/Contract.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.Runtime.CompilerServices;
namespace System
{
static class Contract
{
public static void Requires(bool condition)
{
if ... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Runtime.CompilerServices;
namespace System
{
static class Contract
{
public static void Requires(bool condition)
{
if ... | mit | C# |
c19b17b3379ce32c5731dc5348cf39ef0e276211 | remove param from hide menu (unneeded) | StefanoFiumara/Harry-Potter-Unity | Assets/Scripts/HarryPotterUnity/UI/MenuManager.cs | Assets/Scripts/HarryPotterUnity/UI/MenuManager.cs | using System.Linq;
using HarryPotterUnity.UI.Menu;
using JetBrains.Annotations;
using UnityEngine;
using UnityEngine.UI;
namespace HarryPotterUnity.UI
{
public class MenuManager : MonoBehaviour
{
[SerializeField]
private BaseMenu _currentMenu;
[SerializeField]
private SubMenuM... | using System.Linq;
using HarryPotterUnity.UI.Menu;
using JetBrains.Annotations;
using UnityEngine;
using UnityEngine.UI;
namespace HarryPotterUnity.UI
{
public class MenuManager : MonoBehaviour
{
[SerializeField]
private BaseMenu _currentMenu;
[SerializeField]
private SubMenuM... | mit | C# |
7c6e3e166270f394cf33cc047c5971f58d423d95 | fix security issue | marinoscar/loadimpact | Program.cs | Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LoadImpact
{
class Program
{
static void Main(string[] args)
{
var consoleArgs = new Arguments(args);
var apiKey = "";
if (!consoleA... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LoadImpact
{
class Program
{
static void Main(string[] args)
{
var api = new RestApi("0dfb7b336a3d1ed03d16f9e00ab0791356814de2317f46498d12434a3a4c82f9");
... | mit | C# |
8897fe3e6ae26efbccdd251e857fb47b5e38e944 | Add handling of deletions to MessageDistributer | thijser/ARGAME,thijser/ARGAME,thijser/ARGAME | ARGame/Assets/Scripts/Network/MessageDistributer.cs | ARGame/Assets/Scripts/Network/MessageDistributer.cs | //----------------------------------------------------------------------------
// <copyright file="MessageDistributer.cs" company="Delft University of Technology">
// Copyright 2015, Delft University of Technology
//
// This software is licensed under the terms of the MIT License.
// A copy of the lic... | //----------------------------------------------------------------------------
// <copyright file="MessageDistributer.cs" company="Delft University of Technology">
// Copyright 2015, Delft University of Technology
//
// This software is licensed under the terms of the MIT License.
// A copy of the lic... | mit | C# |
39767aef67f39558c0c9b10e41d38b8db5c0a43a | Prepare for April 2016 release | Oaden/PnP-Sites-Core,phillipharding/PnP-Sites-Core,rajashekarusa/PnP-Sites-Core,phillipharding/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,Oaden/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,rajashekarusa/PnP-Sites-Core,rajashekarusa/PnP-Sites-Core | Core/OfficeDevPnP.Core/Properties/AssemblyInfo.cs | Core/OfficeDevPnP.Core/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
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.
[asse... | using System.Reflection;
using System.Resources;
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.
[asse... | mit | C# |
7227d014c601bcad62ae7f768499865d4d36d01c | Revert "Update Examples/.vs/Aspose.Email.Examples.CSharp/v15/Server/sqlite3/storage.ide-wal" | asposeemail/Aspose_Email_NET,aspose-email/Aspose.Email-for-.NET | Examples/CSharp/Outlook/OLM/LoadAndReadOLMFile.cs | Examples/CSharp/Outlook/OLM/LoadAndReadOLMFile.cs | using System;
using Aspose.Email.Storage.Olm;
using Aspose.Email.Mapi;
namespace Aspose.Email.Examples.CSharp.Email.Outlook.OLM
{
class LoadAndReadOLMFile
{
public static void Run()
{
// The path to the File directory.
string dataDir = RunExamples.GetDataDir_Outlook();
... | using System;
using Aspose.Email.Storage.Olm;
using Aspose.Email.Mapi;
namespace Aspose.Email.Examples.CSharp.Email.Outlook.OLM
{
class LoadAndReadOLMFile
{
public static void Run()
{
// The path to the File directory.
string dataDir = RunExamples.GetDataDir_Outlook();
... | mit | C# |
722acd98f7a5b70c27304f10171921f36ae88399 | Add ids from service endpoint | andyfmiller/LtiLibrary | LtiLibrary.AspNet/Outcomes/v2/PutResultContext.cs | LtiLibrary.AspNet/Outcomes/v2/PutResultContext.cs | using System.Net;
using LtiLibrary.Core.Outcomes.v2;
namespace LtiLibrary.AspNet.Outcomes.v2
{
public class PutResultContext
{
public PutResultContext(string contextId, string lineItemId, string id, LisResult result)
{
ContextId = contextId;
LineItemId = lineItemId;
... | using System.Net;
using LtiLibrary.Core.Outcomes.v2;
namespace LtiLibrary.AspNet.Outcomes.v2
{
public class PutResultContext
{
public PutResultContext(LisResult result)
{
Result = result;
StatusCode = HttpStatusCode.OK;
}
public LisResult Result { get; ... | apache-2.0 | C# |
0d555a2e680d7068298dc0e7daa5c84bba037aa0 | Rewrite LodViewQueryable Class | inohiro/LodViewProvider | LodViewProvider/LodViewProvider/LodViewQueryable.cs | LodViewProvider/LodViewProvider/LodViewQueryable.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Data.Objects;
namespace LodViewProvider {
public class LodViewQueryable : IQueryable<Resource> { // IOrderedQueryable<Resource> {
public string ViewUrl { get... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Data.Objects;
namespace LodViewProvider {
public class LodViewExecute : IQueryable<Resource> { // IOrderedQueryable<Resource> {
public string ViewUrl { get; private set; }
public IQ... | mit | C# |
9c6d9e7085445a5b17a120ce08235277d65f3ede | Update XML comments | atata-framework/atata,atata-framework/atata,YevgeniyShunevych/Atata,YevgeniyShunevych/Atata | src/Atata/Attributes/ControlSearch/FindSettingsAttribute.cs | src/Atata/Attributes/ControlSearch/FindSettingsAttribute.cs | using System;
namespace Atata
{
/// <summary>
/// Defines the settings to apply for the specified finding strategy of a control.
/// </summary>
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = true)]
public class FindSettingsAt... | using System;
namespace Atata
{
/// <summary>
/// Defines the settings to apply for the specified finding strategy of a control.
/// </summary>
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = true)]
public class FindSettingsAt... | apache-2.0 | C# |
b372d8d533a30b5d613c50a476dcb32da68b83cc | Initialize gstreamer | Carbenium/banshee,arfbtwn/banshee,Dynalon/banshee-osx,petejohanson/banshee,stsundermann/banshee,mono-soc-2011/banshee,Dynalon/banshee-osx,lamalex/Banshee,lamalex/Banshee,stsundermann/banshee,Dynalon/banshee-osx,ixfalia/banshee,mono-soc-2011/banshee,lamalex/Banshee,allquixotic/banshee-gst-sharp-work,Carbenium/banshee,du... | src/Backends/Banshee.GStreamer/Banshee.GStreamer/Service.cs | src/Backends/Banshee.GStreamer/Banshee.GStreamer/Service.cs | //
// Service.cs
//
// Author:
// Aaron Bockover <abockover@novell.com>
//
// Copyright (C) 2007 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, inc... | //
// Service.cs
//
// Author:
// Aaron Bockover <abockover@novell.com>
//
// Copyright (C) 2007 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, inc... | mit | C# |
cf7eb385fce5d124b256b129dc168b3fdd57da1d | Add message id to the log message | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2.TestSubscriber/GenericHandler.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2.TestSubscriber/GenericHandler.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using NServiceBus;
using SFA.DAS.CommitmentsV2.Messages.Events;
namespace SFA.DAS.CommitmentsV2.TestSubscriber
{
class GenericHandler
{
public Task Log(object message, IMessageHandl... | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using NServiceBus;
using SFA.DAS.CommitmentsV2.Messages.Events;
namespace SFA.DAS.CommitmentsV2.TestSubscriber
{
class GenericHandler
{
public Task Log(object message, IMessageHandl... | mit | C# |
34568d2fc94aa2d02f58e3b61d4a263ff9ddcce0 | Stop wrapping exceptions we don't know about and let them throw at the point of error. | danhaller/SevenDigital.Api.Wrapper,knocte/SevenDigital.Api.Wrapper,raoulmillais/SevenDigital.Api.Wrapper,AnthonySteele/SevenDigital.Api.Wrapper,emashliles/SevenDigital.Api.Wrapper,bettiolo/SevenDigital.Api.Wrapper,mattgray/SevenDigital.Api.Wrapper,gregsochanik/SevenDigital.Api.Wrapper,actionshrimp/SevenDigital.Api.Wrap... | src/SevenDigital.Api.Wrapper/Utility/Serialization/ApiXmlDeSerializer.cs | src/SevenDigital.Api.Wrapper/Utility/Serialization/ApiXmlDeSerializer.cs | namespace SevenDigital.Api.Wrapper.Utility.Serialization
{
public class ApiXmlDeSerializer<T> : IDeSerializer<T> where T : class
{
private readonly IDeSerializer<T> _deSerializer;
private readonly IXmlErrorHandler _xmlErrorHandler;
public ApiXmlDeSerializer(IDeSerializer<T> deSerializer, IXmlErrorHandl... | using System;
using SevenDigital.Api.Wrapper.Exceptions;
namespace SevenDigital.Api.Wrapper.Utility.Serialization
{
public class ApiXmlDeSerializer<T> : IDeSerializer<T> where T : class
{
private readonly IDeSerializer<T> _deSerializer;
private readonly IXmlErrorHandler _xmlErrorHandler;
public Api... | mit | C# |
553bd6c2b5c0e7c38d37d29a5b5eb10accaffedf | Rename LWM to Privacy Mode | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/WalletViewModel.cs | WalletWasabi.Fluent/ViewModels/WalletViewModel.cs | using NBitcoin;
using ReactiveUI;
using Splat;
using System;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reactive;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using WalletWasabi.Gui;
using WalletWasabi.Logging;
using WalletWasabi.Wallets;
namespace WalletWasabi.Fluent.ViewM... | using NBitcoin;
using ReactiveUI;
using Splat;
using System;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reactive;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using WalletWasabi.Gui;
using WalletWasabi.Logging;
using WalletWasabi.Wallets;
namespace WalletWasabi.Fluent.ViewM... | mit | C# |
dcf7049b07f09fe7b2b1d04ad3152d27cd4b402e | Support flags enums | lazlo-bonin/fullserializer,jacobdufault/fullserializer,Ksubaka/fullserializer,Ksubaka/fullserializer,nuverian/fullserializer,zodsoft/fullserializer,shadowmint/fullserializer,shadowmint/fullserializer,jagt/fullserializer,shadowmint/fullserializer,karlgluck/fullserializer,jacobdufault/fullserializer,Ksubaka/fullserialize... | src/Converters/EnumConverter.cs | src/Converters/EnumConverter.cs | using System;
namespace FullJson {
/// <summary>
/// Serializes and deserializes enums by their current name.
/// </summary>
public class EnumConverter : ISerializationConverter {
public SerializationConverterChain Converters {
get;
set;
}
public JsonCo... | using System;
namespace FullJson {
/// <summary>
/// Serializes and deserializes enums by their current name.
/// </summary>
public class EnumConverter : ISerializationConverter {
public SerializationConverterChain Converters {
get;
set;
}
public JsonCo... | mit | C# |
4d3328d4ad2c8d8a2d6337ac3acb37cd0d033f2a | implement a QByteArray ctor that takes a byte[] and a QByteArray.ToArray() method which returns a byte[]. | KDE/qyoto,KDE/qyoto | qyoto/core/QByteArrayExtras.cs | qyoto/core/QByteArrayExtras.cs | namespace Qyoto {
using System;
public partial class QByteArray : Object, IDisposable {
public QByteArray(byte[] array) : this(array.Length, '\0') {
Pointer<sbyte> p = Data();
for (int i = 0; i < array.Length; i++) {
p[i] = (sbyte) array[i];
}
}
public byte[] ToArray() {
Pointer<sbyte> p = Da... | namespace Qyoto {
using System;
public partial class QByteArray : Object, IDisposable {
public static implicit operator QByteArray(string arg) {
return new QByteArray(arg);
}
}
}
| lgpl-2.1 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.