text stringlengths 1 932k |
|---|
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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
*
... |
/*
* Copyright 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 "license" fi... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace TodoMvc.Models.AccountViewModels
{
public class ExternalLoginViewModel
{
[Required]
[EmailAddress]
public string Email { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
namespace MonikAI
{
public static class ExtensionMethods
{
private static readonly Random sampler = new Random();
public static T Sample<T>(this IList<T> list)
{
return ... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Text;
using static System.FormattableString;
namespace AccessibilityInsights.Core.Types
{
/// <summary>
/// HeadingLevelTypes class
/// contai... |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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;
names... |
// 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 JetBrains.Annotations;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage;
using Remotion.Lin... |
namespace Microsoft.Protocols.TestSuites.MS_ASPROV
{
using Microsoft.Protocols.TestTools;
/// <summary>
/// MS-ASPROV SUT control adapter interface.
/// </summary>
public interface IMS_ASPROVSUTControlAdapter : IAdapter
{
/// <summary>
/// Wipe all data of the user's device.
... |
// This file is part of YamlDotNet - A .NET library for YAML.
// Copyright (c) Antoine Aubry and contributors
//
// 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, inclu... |
using UnityEngine;
using System.Collections;
public class EnemyAttack : MonoBehaviour {
public float attackFrequency = .5f;
public int attackDamage = 10;
GameObject player;
PlayerHealth playerHealth;
EnemyHealth enemyHealth;
bool playerInRange;
ShadowHealth sHealthOfShadowInRange;
... |
/* --------------------------------------------------------------------------
* Copyrights
*
* Portions created by or assigned to Cursive Systems, Inc. are
* Copyright (c) 2002-2008 Cursive Systems, Inc. All Rights Reserved. Contact
* information for Cursive Systems, Inc. is available at
* http://www.cursive.ne... |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using SkorubaIdentityServer4Admin.Admin.Api.Configuration.Constants;
using SkorubaIdentityServer4Admin.Admin.Api.Dtos.PersistedGrants;
using SkorubaIdentityServer4Admin.Admin.Api.ExceptionHandling;
using SkorubaIden... |
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using MongoDB.Driver;
using Moq;
using NodaTime;
using NUnit.Framework;
using TPP.Model;
using TPP.Persistence.MongoDB.Repos;
namespace TPP.Persistence.MongoDB.Tests.Repos
{
public class CommandLoggerTest : MongoTes... |
//
// Copyright (C) DataStax 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 la... |
using UnityEngine;
using ParadoxNotion.Design;
using NodeCanvas.Framework;
using NodeCanvas.DialogueTrees;
namespace NodeCanvas.Tasks.Actions
{
[Category("Dialogue")]
[Description("Starts the Dialogue Tree assigned on a Dialogue Tree Controller object with specified agent used for 'Instigator'.")]
[Parad... |
using AutoFixture;
namespace UrlShortener.Tests.Abstraction
{
public class BaseUnitTest
{
protected readonly IFixture Fixture;
public BaseUnitTest()
{
Fixture = new Fixture();
}
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using Xamarin.Forms.Internals;
using Xamarin.Forms.Shapes;
namespace Xamarin.Forms
{
public partial class VisualElement : NavigableElement, IAnimatable, IVisualElementController, IResourcesProvider, IS... |
using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace SimpleExporter.Definition.Elements
{
internal class IgnoreDefaultStringEnumConverter<TEnum> : StringEnumConverter
{
private readonly string defaultValue;
public IgnoreDefaultStringEnumConverter()
{
... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Constants.cs" company="OBeautifulCode">
// Copyright (c) OBeautifulCode 2018. All rights reserved.
// </copyright>
// -----------------------------------------------------------... |
namespace Rogue.General
{
public static class Globals
{
#region VARIABLES
/// <summary>
/// Current Game Speed.
/// </summary>
public static int GameSpeed = 0;
#endregion
#region METHODS
public static int ResumeGameSpeed()
{
... |
//------------------------------------------------------------------------------
// <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>
//--... |
namespace Craftsman.Builders.Endpoints
{
using System.Collections.Generic;
using Enums;
using Helpers;
using Models;
public class CreateRecordEndpointBuilder
{
public static string GetEndpointTextForCreateRecord(Entity entity, bool addSwaggerComments,List<Policy> policies)
{
... |
using System;
using WebbShop.Models;
using WebbutikFrontend.Views.Shared;
namespace WebbutikFrontend.Views.Users
{
public static class SelectedUser
{
/// <summary>
/// The index view for the selected user.
/// </summary>
public static void View(User user)
{
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json.Serialization;
using Quartz.Impl.Calendar;
using Quartz.Spi;
using Quartz.Util;
namespace Quartz.Simpl
{
/// <s... |
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Mvc.ApiExplorer;
namespace Swashbuckle.AspNetCore.TestSupport
{
public class FakeApiDescriptionGroupCollectionProvider : IApiDescriptionGroupCollectionProvider
{
private readonly IEnumerable<ApiDescription> _apiDescription... |
using MaterialDesignThemes.Wpf;
using SheepFinance.Data;
using SheepFinance.Model;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace SheepFinance.ViewMode... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
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("Api... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/mfapi.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.Runtime.C... |
//-------------------------------------------------------------------------
// Copyright © 2019 Province of British Columbia
//
// 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://w... |
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using WebApp;
namespace WithContextFactory;
public class FactoryServicesExample
{
#region ConfigureServices
public void ConfigureServices(IServiceCollection services)
{
services.AddDbContextFactory<ApplicationDbCo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
public enum LightLamp{Red,Yellow,Green}
namespace CrossLampControl.WebApi.Models
{
public class Lamp
{
public string MainLamp { get; set; }
public string SubLamp { get; set; }
public string StartPause ... |
using System;
namespace CommunityCenter.Models.RBAC
{
public class fn_rbac_HS_SERVICE
{
public int ResourceID { get; set; }
public int GroupID { get; set; }
public int RevisionID { get; set; }
public int? AgentID { get; set; }
public DateTime TimeStamp { get; set; }... |
using System;
using System.Collections.Generic;
namespace Umbraco.Core.Models.Blocks
{
public struct ContentAndSettingsReference : IEquatable<ContentAndSettingsReference>
{
public ContentAndSettingsReference(Udi contentUdi, Udi settingsUdi)
{
ContentUdi = contentUdi ?? throw new Ar... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2019 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundation with the add... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/urlmon.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using System... |
using System;
using System.Collections.Generic;
using NetCoreUI.Tools;
namespace NetCoreUI.Mac.Interop
{
internal static class KeyMapper
{
public static NSEventModifierFlags GetModifier(ModifierKey key)
{
NSEventModifierFlags result = NSEventModifierFlags.None;
foreach... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace Neo.VM.Types
{
[DebuggerDisplay("Type={GetType().Name}, Count={Count}")]
public class Array : StackItem, ICollection, IList<StackItem>
{
protected readonly List<StackIte... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SumNumbers
{
class Program
{
static void Main(string[] args)
{
//read int num while command = Stop then print the summed nums
string input = Co... |
using AltV.Net;
using ResurrectionRP_Server.Utils;
using System;
using System.Threading.Tasks;
namespace ResurrectionRP_Server.Society
{
public partial class Society
{
#region Fields
private DateTime _lastUpdateRequest;
private bool _updateWaiting = false;
private int _nbUpdate... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace MVPControls
{
/// <summary>
/// 可以点击的Label
/// </summary>
public class MClickableLabel:Label
{
/// <summary>
... |
/// This code was generated by
/// \ / _ _ _| _ _
/// | (_)\/(_)(_|\/| |(/_ v1.0.0
/// / /
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Xml.Linq;
using Twilio.Converters;
namespace Twilio.TwiML.Voice
{
/// <summary>
/// Sms TwiML Noun
... |
using JT808.Protocol.Attributes;
using JT808.Protocol.Formatters;
namespace JT808.Protocol
{
/// <summary>
/// 统一分包数据体
/// </summary>
[JT808Formatter(typeof(JT808SplitPackageBodiesFormatter))]
public class JT808SplitPackageBodies : JT808Bodies
{
public byte[] Data { get; set; }
}
} |
namespace Humidifier.CloudFormation
{
using System.Collections.Generic;
public class WaitCondition : Humidifier.Resource
{
public static class Attributes
{
public static string Data = "Data" ;
}
public override string AWSTypeName
{
get
... |
namespace MusicHub.DataProcessor
{
using Data;
using Data.Models;
using Data.Models.Enums;
using ImportDtos;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.IO;
using... |
@model ToDoListVS3.Models.Item
<html>
<head>
<title>To Do List - Details</title>
</head>
<body>
<h2>Details</h2>
<hr />
@Html.DisplayNameFor(model => model.Description): @Html.DisplayFor(model => model.Description)
<p>@Html.ActionLink("Back to list", "Index")</p>
</body>
</html> |
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using OmniSharp.Extensions.Embedded.MediatR;
using OmniSharp.Extensions.LanguageServer.Protocol;
using OmniSharp.Extensions.LanguageServer.Protocol.Client.Capabilities;
using OmniSharp.Extensions.LanguageServer.Protocol.Models;
usin... |
using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
// 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: Asse... |
using UnityEngine.EventSystems;
namespace Core.MessageTargets.LevelEvents
{
public interface IRestartLevelRequestEventTarget : IEventSystemHandler
{
void RestartLevelRequested();
}
} |
using System.Web.Http;
using Owin;
using TinyIoC;
namespace Apress.Recipes.WebApi
{
public class Startup
{
public void Configuration(IAppBuilder appBuilder)
{
var config = new HttpConfiguration();
config.MapHttpAttributeRoutes();
var container = new TinyIoC... |
using System;
using System.Windows.Forms;
namespace TestRail_Searcher
{
public partial class LoginForm : Form
{
static readonly string AdminCollectionName = "Administrator";
readonly DatabaseServer _dbs = new DatabaseServer(@"Database.db", AdminCollectionName);
public LoginForm()
... |
using Paperless.Shared.Utils;
namespace Arquivo.Domain.ValueObjects
{
public class Anexo
{
public string Codigo { get; }
public int Tipo { get; }
public string Nome { get; }
public string Extensao { get; }
public string LinkParaDownload { get; }
private Anexo(i... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// Basic sound class to swap between sound strategies
public class Sound : MonoBehaviour
{
// Audio source is used to define where the sound comes from
[SerializeField]
private AudioSource _AudioSource;
// Audio clip is the... |
using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using ReactiveMarbles.ObservableEvents;
using ReactiveUI;
using Xamarin.Essentials;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Vulcanova.Core.Layout.Controls
{
[XamlCompilation(XamlCompilationOptions.Compile)]
[ContentPro... |
namespace LogicMonitor.Api.LogicModules;
/// <summary>
/// A device config source overview graph
/// </summary>
[DataContract]
public class DeviceConfigSourceOverviewGraph
{
} |
using ContentStore.Domain;
using System;
namespace ContentStore.JsonSettings.Internals {
public class Field {
public String Name { get; set; }
public String DataType { get; set; }
}
} |
using System;
using System.Linq;
using System.Web.Routing;
using Nop.Core;
using Nop.Core.Domain.Messages;
using Nop.Core.Plugins;
using Nop.Services.Common;
using Nop.Services.Configuration;
using Nop.Services.Localization;
using Nop.Services.Logging;
using Nop.Services.Messages;
namespace Nop.Plugin.SMS.Verizon
{
... |
using System.Collections.Generic;
namespace EfficientApiCalls
{
public class Name
{
public string first { get; set; }
public string last { get; set; }
}
public class Friend
{
public int id { get; set; }
public string name { get; set; }
}
public class Model... |
/**
* Copyright 2015 Canada Health Infoway, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... |
using Poof.Core.Model.Data;
using System;
using System.Collections.Generic;
using System.Text;
using Yaapii.Atoms;
using Yaapii.Atoms.Enumerable;
using Yaapii.Atoms.Scalar;
namespace Poof.Core.Model.Entity
{
public sealed class EntityOf : IEntity
{
private readonly IScalar<IDataFloor> memory;
... |
namespace Melanchall.DryWetMidi.Interaction
{
/// <summary>
/// Determines a rule for creating rests. The default value is <see cref="NoSeparation"/>.
/// More info in the
/// <see href="xref:a_getting_objects#rests">Getting objects: GetObjects: Rests</see> article.
/// </summary>
public enum R... |
/*
* 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) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IO;
using System.Xml;
using Microsoft.Build.Evaluation;
using Microsoft.Build.Execution;
namespace Microsoft.Build.UnitTests.BackEnd
{
/// <summary>
... |
using KB.Entity.Sample;
using System;
using System.Collections.Generic;
using System.Text;
using ZZH.DapperExpression.Service;
namespace KB.PostgreSqlRepository.EntityConfigMappers
{
/// <summary>
/// Produce 实体配置,用于示例
/// </summary>
internal class ProductEntityTypeConfigMapperSample : EntityTypeConfi... |
using Antlr4.Runtime;
using MiniC.Generators.Expressions.Logical;
using MiniC.Scopes;
namespace MiniC.Generators.Expressions
{
public class TernaryExpressionGenerator: BaseCodeGenerator
{
private static int ternaryExprsCnt = 0;
public override AsmCodeWriter GenerateCodeForContext(Parse... |
using System;
using System.Collections.Generic;
using System.Linq;
using Extant.Threading;
using Extant.Util;
namespace Extant.Net
{
public class PacketQueue
{
private Type _packetGroup;
private LockValuePair<Queue<NetPacket>> _packets = new LockValuePair<Queue<NetPacket>>(new Queue<NetPacket... |
using System;
namespace TupleClass
{
public class StartUp
{
public static void Main()
{
var line = Console.ReadLine().Split();
var name = line[0] + " " + line[1];
var output = new Tuple<string,string,string>(name, line[2], line[3]);
Console.Write... |
/* ========================================================================
* Copyright (c) 2005-2017 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 System;
using System.Collections.Generic;
using System.Text;
using static MCUtils.NBTContent;
namespace MCUtils
{
public class ChunkSection
{
public ushort[,,] blocks = new ushort[16, 16, 16];
public List<BlockState> palette;
//private readonly object lockObj = new object();
public ChunkSection(stri... |
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
using MonkeyFinder.Services;
namespace MonkeyFinder.ViewModel;
public partial class MonkeysViewModel : BaseViewModel
{
public ObservableCollection<Monkey> Monkeys { get; } = new();
MonkeyService monkeyService;
IConnectivity connectivity;
IGeolocation geolocation;
public MonkeysViewModel(MonkeySer... |
namespace Societatis.HAL
{
using System;
using System.Reflection;
using Newtonsoft.Json;
using Societatis.Misc;
/// <summary>
/// Class providing extension methods for adding HAL to a library.
/// </summary>
public static class HALExtensions
{
// public static JsonSerializer... |
using System;
using System.IO;
using System.Linq;
using NUnit.Framework;
using Xamarin.UITest;
using Xamarin.UITest.Android;
using Xamarin.UITest.Queries;
namespace Reddit
{
[TestFixture]
public class Tests
{
AndroidApp app;
Query MyUsername;
Query MyPassword;
MyUsername=
[SetUp]
public void Befor... |
/******************************************************************************
* The MIT License
* Copyright (c) 2003 Novell Inc. 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), to deal
* in the Sof... |
@{
ViewBag.Title = "DonutChart";
Layout = "~/Views/Shared/_d3ChartLayout.cshtml";
}
<div class="row pt-3 px-4">
<div class="col-md-6">
<div class="card">
<div class="card-header">
Simple Donut Chart
</div>
<div class="card-body">
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
namespace IndiPro_PartB.StudentsPerCourse
{
public class StudentsPerCourseDb
{
private const string connectionString = @"Data Source=LAPTOP-SVDRNMUO\SQLEXPRE... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using System.Linq;
namespace Caldast.AlgoLife.Tree.Tests
{
[TestClass()]
public class BinaryTreeTests
{
[TestMethod()]
public void BinaryTreeTest()
{
int[] arr = { 1, 2, 5, 3, 4, -1, 6... |
using System.Collections.Generic;
using System.Threading.Tasks;
using CoinbasePro.Services.Payments.Models;
namespace CoinbasePro.Services.Payments
{
public interface IPaymentsService
{
Task<IEnumerable<PaymentMethod>> GetAllPaymentMethodsAsync();
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Singleton.Implementation
{
/// <summary>
/// Lazy Optimized Implementation of the Singleton Pattern.
/// </summary>
public class LazyOptmizedSingleton
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyController : MonoBehaviour
{
Rigidbody rigidbody;
public float sightLength;
public float movementSpeed;
public GameObject sight;
// public GameObject vision;
public Transform[] waypoints;
boo... |
using Azure.Search.Documents.Indexes.Models;
using Microsoft.CognitiveSearchIntegration.Utilities.Nugets.CognitiveSearchClient;
using Microsoft.CognitiveSearchIntegration.Utilities.Nugets.CognitiveSearchClient.RestClient.ApiModels;
using Microsoft.CognitiveSearchIntegration.Utilities.Nugets.CognitiveSearchClient.RestC... |
using Windows.UI.Xaml.Controls;
using Cirrious.MvvmCross.ViewModels;
using Cirrious.MvvmCross.WindowsStore.Views;
using ShoppingList.Windows.Views;
namespace ShoppingList.Windows.Presenter {
public class MainViewPresenter : MvxStoreViewPresenter {
private readonly Frame _rootFrame;
public MainVi... |
using System.Diagnostics.CodeAnalysis;
using Content.Shared.MobState;
using Content.Shared.Movement.Components;
using Robust.Shared.Containers;
using Robust.Shared.GameObjects;
using Robust.Shared.Input;
using Robust.Shared.Input.Binding;
using Robust.Shared.Maths;
using Robust.Shared.Players;
namespace Content.Shared... |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... |
using System;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Media;
namespace Gemini.Modules.GraphEditor.Converters
{
public class ColorToBrushConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
... |
namespace LimeFlight.OpenAPI.Diff.Enums
{
public enum ChangedElementTypeEnum
{
OpenApi,
Operation,
RequestBody,
Path,
Content,
Response,
Request,
Parameter,
Schema,
OneOf,
AnyOf,
AllOf,
Header,
Secur... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
namespace MathLibrary
{
// REMARQUE : vous pouvez utiliser la commande Renommer du menu Refactoriser pour changer le nom d'interface "... |
#region License
/*
Copyright © 2014-2018 European Support Limited
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 a... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Core.Utilities.Results
{
public class ErrorResult:Result
{
public ErrorResult(string message) : base(false, message)
{
}
public ErrorResult() : base(false)
... |
// Decompiled with JetBrains decompiler
// Type: BlueStacks.Common.CustomSettingsButton
// Assembly: HD-Common, Version=4.250.0.1070, Culture=neutral, PublicKeyToken=null
// MVID: 7033AB66-5028-4A08-B35C-D9B2B424A68A
// Assembly location: C:\Program Files\BlueStacks\HD-Common.dll
using System;
using System.CodeDom.Co... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - My ASP.NET Application</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="navbar navbar-i... |
namespace ProtoR.Domain.UnitTests.SchemaGroupAggregateTests
{
using System;
using System.Collections.Generic;
using AutoFixture;
using Google.Protobuf.Reflection;
using Moq;
using ProtoR.Domain.GlobalConfigurationAggregate;
using ProtoR.Domain.SchemaGroupAggregate;
using ProtoR.Domain.Sc... |
/*
* MIT License
*
* Copyright (c) Microsoft Corporation.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy... |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Linq.Expressions;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Gschwind.Lighthouse.Example.Serialization {
/// <summary>
/// Implementiert einen <see cref="JsonConverter"/>, d... |
namespace Person
{
using System;
public class Person
{
public string Name { get; set; }
public int? Age { get; set; }
public Person(string name,int? age)
{
this.Name = name;
this.Age = age;
}
public Person(string name):this(name,n... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft 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 the License at
// http://www.apa... |
// Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... |
using System;
using System.Collections.Generic;
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file ... |
// /********************************************************
// * *
// * Copyright (C) Microsoft. All rights reserved. *
// * Licensed under the MIT license. *
// * *
// ************... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.Owin;
using Microsoft.Owin.Security.Cookies;
using Microsoft.Owin.Security.Google;
using Microsoft.Owin.Security.OAuth;
using Owin;
using WebAPI_NG_Tokenb... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.