text stringlengths 1 932k |
|---|
// SCIENCE BIRDS: A clone version of the Angry Birds game used for
// research purposes
//
// Copyright (C) 2016 - Lucas N. Ferreira - lucasnfe@gmail.com
//
// 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 Softw... |
using System;
namespace Chimera.Extension
{
[AttributeUsage (AttributeTargets.Class | AttributeTargets.Struct, Inherited = true, AllowMultiple = false)]
public sealed class SettingsSectionAttribute : Attribute
{
public SettingsSectionAttribute ()
{
}
}
} |
// // (c) 2007 - 2011 Joshua R. Rodgers under the terms of the Ms-PL license.
namespace AW
{
public partial interface IAttributeProvider
{
}
} |
using CK.Auth;
using CK.Core;
using CK.SqlServer;
using CK.SqlServer.Setup;
using inProjects.Data;
using inProjects.Data.Data.Period;
using inProjects.Data.Data.TimePeriod;
using inProjects.Data.Queries;
using inProjects.ViewModels;
using inProjects.WebApp.Services;
using Microsoft.AspNetCore.Mvc;
using System;
using S... |
// ReSharper disable CheckNamespace
namespace wslyvh.Core.Interfaces.ServiceClient
// ReSharper restore CheckNamespace
{
public class Request<T> : IRequest<T> where T : class
{
public T Data { get; set; }
}
} |
// Copyright 2007-2017 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace VbPowerPacksShapeHideCS
{
public partial class ShapeHide : Form
{
public ShapeHide()
{
I... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// 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... |
using System.Web.Http;
using System.Web.Mvc;
namespace ASP.NET_Web_Api_JSON_Sending_Receiving.Areas.HelpPage
{
public class HelpPageAreaRegistration : AreaRegistration
{
public override string AreaName
{
get
{
return "HelpPage";
}
}
... |
using Autobarn.Data;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace Autobarn.Website {
public class Startup {
public Startup(IConfiguration configuration) ... |
using Newtonsoft.Json;
using Tweetinvi.Models.DTO;
using Tweetinvi.Public.Models.Enum;
namespace Tweetinvi.Logic.DTO
{
public class UploadProcessingInfo : IUploadProcessingInfo
{
public UploadProcessingInfo()
{
CheckAfterInSeconds = 0;
ProgressPercentage = 0;
}
... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해
// 제어됩니다. 어셈블리와 관련된 정보를 수정하려면
// 이러한 특성 값을 변경하세요.
[assembly: AssemblyTitle("Caculator_Ver2")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: Asse... |
// 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 Foundation;
using osu.Framework.iOS;
namespace osu.Framework.Tests.iOS
{
[Register("AppDelegate")]
public class AppDelegate : GameAppDelegate
{
... |
using System.Security.Cryptography;
using System.Text;
namespace MUSACA.Services
{
public class PasswordHasher:IPasswordHasher
{
public string HashPassword(string password)
{
if (string.IsNullOrEmpty(password))
{
return string.Empty;
}
... |
namespace ClassLib084
{
public class Class037
{
public static string Property => "ClassLib084";
}
} |
using System;
using System.Linq;
namespace Task02
{
public class Program
{
public static void Main(string[] args)
{
string[] input = Console.ReadLine()
.Split(" ", StringSplitOptions.RemoveEmptyEntries)
.ToArray();
string firstString = i... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CSharpGL
{
/// <summary>
/// glTexParameterf();
/// </summary>
public class TexParameterfv : TexParameter
{
private float[] pValue;
public float[] PValue
{
get { ret... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Squire.Monitoring.Controllers;
using war3playground.BusinessLogic.Settings;
namespace war3playground.Controllers
{
public class MonitorController : MonitoringController
{
... |
using System;
using System.Threading.Tasks;
using HttPlaceholder.Application.StubExecution.Models;
using HttPlaceholder.Domain;
namespace HttPlaceholder.Application.StubExecution.RequestToStubConditionsHandlers;
/// <summary>
/// "Request to stub conditions handler" that is used to create a hostname header condition.... |
namespace XPump.SubForm
{
partial class DialogDbConfig2
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace basicStackOps
{
class Program
{
static void Main(string[] args)
{
var integers = Console.ReadLine().Split().Select(int.Parse).ToArray();
var input = Console.ReadLine().Split().Select(int.Parse)... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WarelogManager.Model.DataTransfer.Shipping;
using WarelogManager.Model.Mapping;
using WarelogManager.Model.Repositories.Warehouse.Interface;
namespace WarelogM... |
using JetBrains.Annotations;
using LINGYUN.Platform.Routes;
using System;
namespace LINGYUN.Platform.Layouts
{
/// <summary>
/// 布局视图实体
/// </summary>
public class Layout : Route
{
/// <summary>
/// 框架
/// </summary>
public virtual string Framework { get; protected ... |
namespace EmployeeRegister
{
partial class FrmVisitorEmployeeDetails
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </su... |
/*
* Copyright (c) .NET Foundation and Contributors
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* https://github.com/piranhacms/piranha.core
*
*/
using System;
using System.Collections;
using System.Collections.Generic;
using Syst... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using NuGet.Common;
using NuGet... |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Gov.Lclb.Cllb.Interfaces
{
using Microsoft.Rest;
using Models;
using System.Collections;
using System.Co... |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* 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 ... |
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************
using System;
using PPlus.Int... |
using EnsureThat;
namespace MyInfluxDbClient
{
public class CreateRetentionPolicy
{
public string Name { get; }
public RetentionPolicyDuration Duration { get; }
public int Replication { get; }
public bool? MakeDefault { get; }
public CreateRetentionPolicy(string name, R... |
using PaderbornUniversity.SILab.Hip.EventSourcing;
using PaderbornUniversity.SILab.Hip.UserStore.Model.Entity;
using PaderbornUniversity.SILab.Hip.UserStore.Model.Rest;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace PaderbornUniversity.SILab.Hip.UserStore.C... |
using ComicsApp.Server.ComicsService;
using ComicsApp.Server.ComicsService.CalvinAndHobbes;
using ComicsApp.Server.ComicsService.Dilbert;
using ComicsApp.Server.ComicsService.Garfield;
using ComicsApp.Server.ComicsService.XKCD;
using Microsoft.AspNetCore.Mvc;
namespace ComicsApp.Server.Controllers;
[ApiController]
p... |
/*
* Exchange Web Services Managed API
*
* Copyright (c) Microsoft Corporation
* All rights reserved.
*
* MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restr... |
namespace ServerlessMicroservices.Shared.Services
{
public interface ISettingService
{
string GetSiteName();
// Global
bool EnableAuth();
// Storage
string GetStorageAccount();
string GetTripManagersQueueName();
string GetTripMonitorsQueueName();
... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
//... |
using System;
class TruckDriver
{
static void Main(string[] args)
{
string season = Console.ReadLine();
var kilometersPerMonth = double.Parse(Console.ReadLine());
var salary = 0.0;
if (kilometersPerMonth > 10000)
{
salary += kilometersPerMonth * 1.45 * 4;
... |
// Copyright (c) MASA Stack All rights reserved.
// Licensed under the MIT License. See LICENSE.txt in the project root for license information.
namespace Masa.Contrib.Data.EntityFrameworkCore.Cosmos.Internal;
internal static class Parser
{
public static Dictionary<string, string> ToDictionary(this string connect... |
using System;
namespace string_metotlari
{
class Program
{
static void Main(string[] args)
{
string degisken = "Dersimiz CSharp, Hoşgeldiniz!";
//length
Console.WriteLine(degisken.Length); //uzunluk
Console.WriteLine(degisken.ToUppe... |
//-----------------------------------------------------------------------
// <copyright file="JsonFormatStrings.cs" company="NJsonSchema">
// Copyright (c) Rico Suter. All rights reserved.
// </copyright>
// <license>https://github.com/RicoSuter/NJsonSchema/blob/master/LICENSE.md</license>
// <author>Rico Suter, m... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Used to manage various meteor settings.
/// </summary>
[Serializable]
public class MeteorManager : MonoBehaviour
{
/// <summary>
///
/// </summary>
public GameObject meteorPrefab;
/// <s... |
/* ========================================================================
* Copyright (c) 2005-2019 The OPC Foundation, Inc. All rights reserved.
*
* OPC Foundation MIT License 1.00
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
... |
using ExRandomTests;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PNGGraphPlot;
using System.Drawing;
namespace ExRandom.Continuous.Tests {
[TestClass()]
public class JohnsonsSURandomTests {
[TestMethod()]
public void JohnsonsSURandomTest() {
const int N = 1000000, X_M... |
// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.
using System.Diagnostics.CodeAnalysis;
[assembly: SuppressMessage("IDis... |
#region S# License
/******************************************************************************************
NOTICE!!! This program and source code is owned and licensed by
StockSharp, LLC, www.stocksharp.com
Viewing or use of this code requires your acceptance of the license
agreement found at https://github.com/S... |
// Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-14.0.0/llvm/include/llvm-c
// Original source is Copyright (c) the LLVM Project and ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace CardsLibrary.Model.Common
{
public class Entity
{
public Guid ID { get; set; }
}
} |
// 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 System.Linq;
using Microsoft.ML;
using Microsoft.ML.EntryPoints;
using Microsoft.ML.Runtime;
using Microsoft.... |
using System;
using Binocle;
using UnityEngine;
namespace App.Platformer
{
public class Actor : GameEntity
{
private Vector2 SubPixelCounter = Vector2.zero;
protected Vector2 tempPos = Vector2.zero;
protected Collider2D coll;
public bool FinishPushOnSquish;
public bool ... |
using System.Threading.Tasks;
using InstaAutoBot.Models.TokenAuth;
using InstaAutoBot.Web.Controllers;
using Shouldly;
using Xunit;
namespace InstaAutoBot.Web.Tests.Controllers
{
public class HomeController_Tests: InstaAutoBotWebTestBase
{
[Fact]
public async Task Index_Test()
{
... |
// 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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Entities;
using Entities.enums;
namespace Sociatis.Models.Congress.Votings
{
public class ViewChangeMaximumContractLength : ViewVotingBaseViewModel
{
public int NewLength { get; set; }
public ViewChange... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using DashboardComm.Logging;
using ModuleStatusInterface;
using Newtonsoft.Json;
namespace DashboardComm
{
internal class Program
{
private static Arguments ogArguments;
private s... |
using System;
using System.Drawing;
namespace MathHelper
{
public class Vector
{
public double X { get; private set; }
public double Y { get; private set; }
public Vector(double inputX,double inputY)
{
X = inputX;
Y = inputY;
}
public sta... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace OnlineShop.ViewModels
{
public class EditAccountViewModel
{
[Required(ErrorMessage = "Podaj imie")]
[Display(Name = "Imię")]
public st... |
namespace AngleSharp.Css.Values
{
using AngleSharp.Css.Dom;
using AngleSharp.Text;
using System;
/// <summary>
/// Represents the skew transformation.
/// </summary>
sealed class CssSkewValue : ICssTransformFunctionValue
{
#region Fields
private readonly ICssValue _alph... |
using UnityEngine;
[AddComponentMenu("_Localization/Language Catalog")]
public class LanguageCatalog : MonoBehaviour
{
public RectTransform panel;
public SliderAction sliderAction;
public GameObject languageButtonShort;
public GameObject languageButtonLong;
public int longToShortAmount;
private... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using SharpGLTF.Runtime;
namespace MonoGameScene
{
/// <summary>
/// Small helper for rendering MonoGame models.
/// <... |
using Microsoft.IdentityModel.Clients.ActiveDirectory;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Siemplify.Common.ExternalChannels.Utils
{
static class ConsoleUtils
{
// Obscure the password being entered
publi... |
// Tencent is pleased to support the open source community by making UnLua available.
//
// Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License. You may obtain a copy of the... |
using BattleTech;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// ReSharper disable All
// thank you Frosty IRBTModUtils CustomDialog
// https://github.com/IceRaptor/IRBTModUtils
namespace PanicSystem.Components.IRBTModUtilsCustomDialog {
public static class ModState {
p... |
//Author: Maple0
//Github:https://github.com/Maple0
//13th Oct 2016
//Stack with Min method
public class StackMin
{
struct MinStackElement
{
public int data;
public int min;
}
int top = 0;
List<MinStackElement> _stackMin = new List<MinStackElement>(... |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
// Copyright (c) BruTile developers team. All rights reserved. See License.txt in the project root for license information.
using System;
namespace BruTile
{
public struct TileIndex : IComparable
{
private readonly int _col;
private readonly int _row;
private readonly string _level;
... |
using System;
using System.IO;
using System.Reflection;
using BenchmarkDotNet.Characteristics;
using BenchmarkDotNet.Code;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Portability;
using BenchmarkDotNet.Running;
using BenchmarkDotNet.Toolchains.Results;
namespace BenchmarkDotNet... |
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("01.... |
@model SellIt.Entities.Category
@{
ViewBag.Title = "Edit";
}
<h2>Edit</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>Category</h4>
<hr />
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Html.HiddenFor(model => model.Catego... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
public class Game_1 : MonoBehaviour
{
public static int width = 10;
public static int height = 30;
public Transform Tile;
public Transform Holes;
public static Transform[,] grid = new Transform[width,... |
using Ryujinx.Graphics.Shader.IntermediateRepresentation;
using Ryujinx.Graphics.Shader.StructuredIr;
using Ryujinx.Graphics.Shader.Translation;
using System;
using System.Collections.Generic;
using static Ryujinx.Graphics.Shader.StructuredIr.InstructionInfo;
namespace Ryujinx.Graphics.Shader.CodeGen.Glsl
{
class... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace StackExchange.Redis
{
internal class RedisBatch : RedisDatabase, IBatch
{
private List<Message> pending;
public RedisBatch(RedisDatabase wrapped, object asyncState) : base(wrapped.multiplexer, wrapped.Data... |
using Microsoft.EntityFrameworkCore;
using TrackableEntities.EF.Core.Tests.FamilyModels;
namespace TrackableEntities.EF.Core.Tests.Contexts
{
public class FamilyDbContext : DbContext
{
public FamilyDbContext() { }
public FamilyDbContext(DbContextOptions options) : base(options) { }
p... |
using System;
namespace _07.Primes_in_Given_Range
{
public class PrimesInGivenRange
{
public static bool IsPrime(long number)
{
var isPrime = true;
if (number < 2)
{
isPrime = false;
}
for (long divider = 2; divider <... |
// 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 System;
using MS.Internal;
using MS.Internal.PresentationCore;
using System.ComponentModel;
using System.C... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Demo01_AbstractFactory.Models;
namespace Demo01_AbstractFactory.Base
{
/// <summary>
/// 提供操作Department表方法的接口
/// </summary>
interface IDepartment
{
void Insert(Departm... |
// Copyright (c) Microsoft. All rights reserved.
using System.Reflection;
using Autofac;
using Autofac.Extensions.DependencyInjection;
using Microsoft.Azure.IoTSolutions.UIConfig.Services;
using Microsoft.Azure.IoTSolutions.UIConfig.Services.Diagnostics;
using Microsoft.Azure.IoTSolutions.UIConfig.Services.External;
u... |
using System.Data.Entity;
using Lpp.Dns.Data;
using Lpp.Dns.DTO;
using Lpp.Dns.DTO.Security;
using Lpp.Utilities;
using Lpp.Utilities.WebSites.Controllers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
us... |
@using System.Web.Mvc
@using System.Web.Mvc.Html
@using EPiServer.Shell
@inherits System.Web.Mvc.WebViewPage<KachingPlugIn.Web.KachingPlugIn.ViewModels.PlugInViewModel>
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<title>Ka-ching integration</title>
<link type="text/css" rel="stylesheet" href="@Paths... |
namespace PopulateSqlData
{
partial class FormServer
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
//... |
//
// System.Web.UI.DataSourceViewSelectCallback.cs
//
// Author:
// Sanjay Gupta <gsanjay@novell.com>
//
// (C) 2004-2010 Novell, Inc (http://www.novell.com)
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public interface IPlayer
{
void Execute(string _name);
} |
//--------------------------------------------------------
// This code is generated by AutoFastGenerator.
// You should not modify the code.
//--------------------------------------------------------
namespace FlowScriptEnginePPD.FlowSourceObjects.Graphics
{
public partial class InsertPreScreenFilterFlowSourceOb... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.Azure.II... |
/* Copyright 2013-2015 MongoDB Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace DirectSend.Tests
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using DirectSend;
using DirectSend.Models.Configurations;
using NotificationProviders.Common.Logger;
using System.Collections.... |
using System;
using UnityEngine;
namespace Level
{
public class Goal : MonoBehaviour
{
internal MazeManager _mazeManager;
private void OnTriggerEnter2D(Collider2D other)
{
if (other.GetComponent<Ball>())
{
_mazeManager.Completed();
... |
using System.IO;
using System.Runtime.Serialization;
using GameEstate.Formats.Red.CR2W.Reflection;
using FastMember;
using static GameEstate.Formats.Red.Records.Enums;
namespace GameEstate.Formats.Red.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class CVegetationBrushFactory : IFactory
{
public CVege... |
using System;
using System.Threading.Tasks;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using System.Diagnostics;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using comeconv.Prop;
using comeconv.Proc;
using comeconv.Util;
namespace comeconv
{
public partial class Fo... |
/*
===============================================================================
EntitySpaces Studio by EntitySpaces, LLC
Persistence Layer and Business Objects for Microsoft .NET
EntitySpaces(TM) is a legal trademark of EntitySpaces, LLC
http://... |
namespace Hondarersoft.Dpm.ServiceProcess
{
public class ServiceIdentify
{
public string ServiceBaseName { get; set; }
public string InstanceID { get; set; }
public string ServiceName
{
get
{
if (string.IsNullOrEmpty(InstanceID) == true)
... |
using System;
using UIKit;
using CoreGraphics;
using GridView;
namespace GridViewSample.Samples
{
public class SampleViewController6 : BaseViewController
{
public SampleViewController6()
{
var blue = Make_Box(UIColor.Blue, 200, 100);
var yellow = Make_Box(UIColor.Yellow... |
using UnityEngine;
using UnityEditor;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using Random = UnityEngine.Random;
public class BoardCreator : MonoBehaviour {
[SerializeField] GameObject tileViewPrefab;
[SerializeField] GameObject tileSelectionIndicatorPrefab;
[SerializeField] i... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using UnityEngine;
[ExecuteInEditMode]
public class ThemeManager : MonoBehaviour
{
public string currentThemeName;
// Themes is static to be persisted across scenes.
private static readonly... |
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.8
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//-----... |
using System;
using System.Diagnostics;
using System.IO;
using System.Threading;
using System.Windows.Forms;
using nspector.Common;
using nspector.Common.Import;
using nspector.Native.WINAPI;
namespace nspector
{
static class Program
{
/// <summary>
/// The main entry point for the application... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsof... |
using System;
using System.Collections.Generic;
using System.Linq;
using Elasticsearch.Net;
using Newtonsoft.Json;
namespace Nest
{
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
public interface IIndexRequest<TDocument> : IDocumentOptionalPath<IndexRequestParameters, TDocument>
where TDocument : ... |
@model AspIdentityImplementation.Models.ManageLoginsViewModel
@using Microsoft.Owin.Security
@{
ViewBag.Title = "Manage your external logins";
}
<h2>@ViewBag.Title.</h2>
<p class="text-success">@ViewBag.StatusMessage</p>
@{
var loginProviders = Context.GetOwinContext().Authentication.GetExternalAuthenticatio... |
// __ _ __ __ ___ __ ___ ___
// | \| |/__\ /' _/ / _//__\| _ \ __|
// | | ' | \/ |`._`.| \_| \/ | v / _|
// |_|\__|\__/ |___/ \__/\__/|_|_\___|
// -----------------------------------
using NosCore.Packets.Attributes;
using NosCore.Packets.Enumerations;
namespace NosCore.Packets.ServerPackets.Entities
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.