content stringlengths 23 1.05M |
|---|
namespace Skype4Sharp.Events
{
public delegate void FileReceived(SkypeFile sentFile);
public class SkypeFile
{
private Skype4Sharp parentSkype;
public User Sender;
public Chat Chat;
public int Size;
public string Name;
public SkypeFile(Skype4Sharp s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CommandLine;
namespace ShipmentTranslator
{
public class CommandLineOptions
{
[Option('l',"LogLevel",DefaultValue = "Error", Required = false,
HelpText = "Prints informational messages to ... |
using System;
using System.Reflection;
using System.Collections;
using Bytewizer.TinyCLR.Http.Mvc.Resolver;
namespace Bytewizer.TinyCLR.Http.Mvc.ModelBinding
{
class ModelMapper : IModelBinder
{
private readonly ArrayList _binders = new ArrayList();
public ModelMapper()
{
... |
namespace ServerCore.Networking.Packets
{
public enum ChangeNameMode
{
/// <summary>
/// This contains the name after a normal request.
/// </summary>
CHANGE_NAME = 0,
/// <summary>
/// If the name has been changed successfuly, reply with this mode.
/// <... |
using System;
namespace JournalVoucherAudit.Utility
{
public class DoubleHelpMethod
{
/// <summary>
/// 误差阈值
/// </summary>
private double _threshold = 1e-5;
public DoubleHelpMethod()
{
}
/// <summary>
/// 初始化误差阈值
/// </summary>
... |
using System;
using System.Linq;
using System.Reflection;
using ZKWeb.Plugin.AssemblyLoaders;
using ZKWeb.Server;
namespace ZKWeb.Database {
/// <summary>
/// Database manager
/// </summary>
public class DatabaseManager {
/// <summary>
/// Default database context factory
/// </summary>
prot... |
using Kerberos.NET;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Threading.Tasks;
namespace Tests.Kerberos.NET
{
[TestClass]
public class ValidatorTests : BaseTest
{
[TestMethod]
public async Ta... |
namespace PnP.Core.Admin.Model.SharePoint
{
/// <summary>
/// SharePoint Online languages
/// </summary>
public enum Language
{
/// <summary>
/// Use default tenant language
/// </summary>
Default = 0,
/// <summary>
/// Arabic
/// </summary>
... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenProtocolInterpreter.Job.Advanced;
namespace MIDTesters.Job.Advanced
{
[TestClass]
public class TestMid0129 : MidTester
{
[TestMethod]
public void Mid0129Revision1()
{
string package = "00200129 ... |
using System;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using TsNode.Extensions;
using TsNode.Interface;
namespace TsNode.Controls.Node
{
public class NodeItemsControl : ItemsControl
{
public NodeControl FindAssociatedNodeItem(object dataContext)
=> ItemContai... |
//-----------------------------------------------------------------------
// <copyright file="DaemonMsgCreateSerializerSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2021 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2021 .NET Foundation <https://github.com/akkadotnet/akka.net>
//... |
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 TerraViewer
{
public partial class AudioProperties : Form
{
public AudioProperties()
{
I... |
using System.Web.Http;
using System.Web.Http.ExceptionHandling;
namespace WebApi.Test.ioC.ExHandler
{
public static class SetExceptionHandler
{
public static void GlobalExceptionHandler(this HttpConfiguration config, ICustomLogger logger)
{
config.Services.Replace(typeof(IException... |
using System;
using System.Collections.Generic;
using System.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 System.Windows.Media.Imaging;... |
using Sultanlar.DbObj.Internet;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Sultanlar.WebAPI.Services.Internet
{
public class StokProvider
{
internal List<bayiStokRaporu> BayiStokRapor(int Slsref, int Smref)
{
object sm... |
using System.Threading.Tasks;
using KeeAnywhere.Configuration;
using Kyrodan.HiDrive;
using Kyrodan.HiDrive.Authentication;
namespace KeeAnywhere.StorageProviders.HiDrive
{
public static class HiDriveHelper
{
/*
The consumer key and the secret key included here are dummy keys.
... |
using System;
using System.Threading.Tasks;
using ShellMemo.Models;
using Xamarin.Essentials;
using Xamarin.Forms;
namespace ShellMemo.ViewModels
{
public class ItemDetailViewModel : BaseViewModel
{
public Item Item { get; set; }
public Command SpeechCommand { get; set; }
public ItemD... |
// Copyright (c) 2021, Phoenix Contact GmbH & Co. KG
// Licensed under the Apache License, Version 2.0
namespace Moryx.ControlSystem.Setups
{
/// <summary>
/// Different options for execution timing of a trigger
/// </summary>
public enum SetupExecution
{
/// <summary>
/// Trigger i... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RunnerController : MonoBehaviour {
//reference to the game controller script
public GameController gameController;
private float gravitySpeed = -0.001f;
//flag for enabling jumping
private bool i... |
using Godot;
using System;
public class Enemy : KinematicBody2D
{
const int GRAVITY = 20;
const int SPEED = 125;
const float DEATH_TIME = 1.0f;
public Vector2 UP = Vector2.Up; // const
public int Health = 2;
public Vector2 Direction = Vector2.Left;
private bool _isDead = false;... |
// Copyright 2011 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.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... |
using System;
using System.IO;
using System.Drawing;
namespace KartRanking.Tools
{
public static class ImageUtil
{
/// <summary>
/// ResizeImage
/// </summary>
public static Image ResizeImage(Image fullsizeImage, int newWidth, int maxHeight, bool onlyResizeIfWider)
... |
using System.Collections.Generic;
using System.Threading.Tasks;
using MAVN.Service.NotificationSystem.Domain.Models;
namespace MAVN.Service.NotificationSystem.Domain.Services
{
public interface ITemplateService
{
/// <summary>
/// Create or update teamplate
/// </summary>
/// <p... |
using System.ComponentModel.DataAnnotations.Schema;
namespace HpdDatabase.EF.Models
{
[Table("SOURCEREGISTRY_PRIORITY", Schema = "HPDOWNER")]
public class CarisProjectPriority
{
[Column("SOURCEREG_PRIORITY_ID")]
public int ProjectPriorityId { get; set; }
[Column("NAME")]
p... |
namespace CAF.Core.Helper
{
public interface ICipherHelper
{
public string Encrypt(string input);
public string Decrypt(string cipherText);
}
}
|
namespace ProCultura.Domain.Entities.Account
{
using System.Collections.Generic;
using System.Linq;
using ProCultura.Domain.Entities.Security;
public class UserEntity : IEntity
{
public int Id { get; set; }
public string Name { get; set; }
public string Email { get; set; }... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DataStarsGame : MonoBehaviour {
private int nbStars;
private List<GameObject> collectStarsGameObjects;
private int compteur;
// Use this for initialization
void Start ()
{
collectStarsGameObjects = n... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Engine.Components;
using Engine.Entities;
using Engine.Systems;
using PlayGen.ITAlert.Simulation.Components;
using PlayGen.ITAlert.Simulation.Components.Common;
using PlayGen.ITAlert.Simulation.Components.EntityTypes;
... |
using UnityEngine;
using System.Reflection;
using System;
using System.Collections.Generic;
interface ILogRecord {}
class ExceptionRecord : ILogRecord {
public Exception exception {
get;
private set;
}
public UnityEngine.Object context {
get;
private set;
}
public... |
using Microsoft.Extensions.DependencyInjection;
namespace Genbox.SimpleS3.Extensions.HttpClient;
public interface IHttpClientBuilder
{
IServiceCollection Services { get; }
string Name { get; }
} |
using GeldApp2.Application.Commands;
using GeldApp2.Database;
using MediatR;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace GeldApp2.... |
using System;
namespace GoogleSheetsHelper
{
public enum HorizontalAlignment
{
Left,
Right,
Center
}
[Flags]
public enum CellRangeOptions
{
None = 0,
/// <summary>
/// Indicates that the column should be fixed, i.e., $A
/// </summary>
FixColumn = 1,
/// <summary>
/// Indicates that the row ... |
//
// Coord.cs
//
// Copyright (c) 2003-2012 Michael F. Henry
// Version 10/2012
//
using System;
using System.Globalization;
namespace Zeptomoby.OrbitTools
{
/// <summary>
/// Class to encapsulate geocentric coordinates.
/// </summary>
public class Geo
{
#region Properties
... |
using Core.Cells;
using Core.Enums;
using NUnit.Framework;
namespace Tests.Cells.CrocoCellTst {
[TestFixture]
public class CrocoCellDefaultsTests {
private CrocoCell crocoCell;
[SetUp]
public void TestInit() {
crocoCell = new CrocoCell(1, 1);
}
[Test]
... |
using System.Text;
using System.Text.Json.Serialization;
namespace DemoServer.Models
{
public record AcarsUplink
{
[JsonPropertyName("id")]
public int Id { get; set; }
[JsonPropertyName("timestamp")]
public string TimeStamp { get; set; }
[JsonPropertyName("mfi")]
... |
using System;
using System.Globalization;
namespace WireMock.Net.OpenApiParser.Utils
{
internal static class DateTimeUtils
{
public static string ToRfc3339DateTime(DateTime dateTime)
{
return dateTime.ToString("yyyy-MM-dd'T'HH:mm:ss.fffzzz", DateTimeFormatInfo.InvariantInfo);
... |
using System;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using FluentAssertions.Common;
using NSubstitute;
using OmniSharp.Extensions.JsonRpc;
using Xunit;
namespace JsonRpc.Tests
{
public class HandlerResolverTests
{
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.Composition;
using SlimDX.Direct3D11;
using VVVV.PluginInterfaces.V1;
using VVVV.PluginInterfaces.V2;
using VVVV.DX11.Lib.Devices;
using FeralTic.DX11;
using FeralTic.DX11.Resources;
namespace VVVV.DX... |
/*
* ORY Hydra
*
* Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
*
* The version of the OpenAPI document: v1.8.0-pre.1
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using Xunit;
using System;
using System.Linq;
using System... |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using Xpto.Domain.Interfaces.Repository.Common;
using Xpto.Domain.Interfaces.Service.Common;
using Xpto.Domain.Validation;
using Xpto.Domain.Interfaces.Validation;
using System.Threading.Tasks;
using Xpto.Domain.Entities.Common;
namespace X... |
<link rel="stylesheet" href="~/css/test.css" />
<h3 class = "changeColor">Ana Sayfa</h3> |
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.DependencyInjection;
using MongoDB.Driver;
using Microsoft.Extensions.Configuration;
using RikardWeb.Lib.Identity;
using RikardWeb.Lib.Identity.Localization;
namespace Microsoft.Extension... |
//=============================================================================
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
// AUTH... |
// Copyright 2014 Max Toro Q.
//
// 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... |
//PATROLLED
namespace Syn.Speech.Helper.Mathematics.Analysis
{
/// <summary>
/// An interface representing a bivariate real function.
/// </summary>
public interface BivariateFunction
{
/// <summary>
/// Compute the value for the function.
/// </summary>
/// <param n... |
public enum ParticleTypes
{
BrickExplosion,
BallHitsBrick,
BallHitsBat,
NewBallOne,
NewBallTwo,
BallLost,
PowerUpLost,
PowerUpCollected,
FallingPointsCollected,
DestroyFallingItems,
TNTExplosion,
LaserHitsBrick,
WanderingObstacleExplosion,
WanderingObstacleSpawn,... |
using System;
namespace Nohros.CQRS.Messaging
{
public class Event : Message
{
/// <summary>
/// Gets the version in which the aggregate was when the event was
/// generated.
/// </summary>
public int Version { get; set; }
}
}
|
using DeezNuts.Enums;
namespace DeezNuts.Dtos
{
public class SendMessageDto
{
public string FromNumber { get; set; }
public string ToNumber { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using UnityEngine;
namespace VRGIN.Helpers
{
/// <summary>
/// Taken from http://answers.unity3d.com/questions/372775/sendmessage-to-inactive-object.html
/// </summary>
public static class Me... |
using System;
using MetaGameplay;
using UnityEngine;
public class Store : MonoBehaviour
{
public static Store Instance = null;
public int _heal1Price = 0;
public int _heal2Price = 0;
public int _attack1Price = 0;
public int _attack2Price = 0;
public int _addAttack1Value = 0;
public int ... |
using System;
namespace FluentCommander.IntegrationTests.EntityFramework.SqlServer.Entities
{
public partial class SampleTable
{
public long SampleTableId { get; set; }
public int SampleInt { get; set; }
public short SampleSmallInt { get; set; }
public byte SampleTinyInt { get;... |
using System.Net.Http;
using System.Net.Http.Headers;
using System.Net.Http.Json;
using System.Text;
using System.Threading.Tasks;
using Blazored.LocalStorage;
using Microsoft.AspNetCore.Components.Authorization;
using OriinDic.Helpers;
using OriinDic.Models;
namespace OriinDic.Services
{
public class AuthServi... |
//*********************************************************************
//xCAD
//Copyright(C) 2020 Xarial Pty Limited
//Product URL: https://www.xcad.net
//License: https://xcad.xarial.com/license/
//*********************************************************************
using System;
using System.Collections.Generic;
... |
using AniSharp.Results.Single;
using AniSharp.Types.Media;
namespace AniSharp.Results.Pages
{
public class MangaPage : MediaPage
{
public override MediaType MediaType => MediaType.MANGA;
public Manga[] Media;
}
} |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEngine.EventSystems;
using System;
public class QuickSlot : MonoBehaviour, IPointerDownHandler, IDragHandler {
public Item item;
Image itemImage;
public int slotNumber;
QuickBar quickBar;
Inventaire inventaire;
Imag... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
using System.IO;
using System.Linq;
using React;
namespace Cassette.React
{
/// <summary>
/// Handles compilation of JavaScript... |
using UnityEditor;
using System.Collections;
using UnityEditor.Build.Reporting;
using UnityEngine;
using UnityEditor.Compilation;
using System.IO;
[CreateAssetMenu(fileName = "BackgroundBuildSettings", menuName = "BackgroundBuild/BackgroundBuildSettings")]
public class BackgroundBuildSettings : ScriptableObje... |
using System.ComponentModel.DataAnnotations;
using static CameraBazaar.Models.Constants.ValidationMessages;
namespace CameraBazaar.Models.Attributes
{
public class MinIsoAttribute : ValidationAttribute
{
protected override ValidationResult IsValid(object value, ValidationContext validationContext)
... |
using FlubuCore.Context;
using FlubuCore.Context.FluentInterface;
using FlubuCore.Context.FluentInterface.Interfaces;
using FlubuCore.Infrastructure;
using FlubuCore.Scripting;
using FlubuCore.Targeting;
using FlubuCore.Tasks;
using FlubuCore.Tests.TestData.BuildScripts.ForCreateTargetWithAttributes;
using Microsoft.E... |
using System;
using System.Collections.Specialized;
using System.Collections.Generic;
using System.Xml;
using TimeAndDate.Services.Common;
namespace TimeAndDate.Services.DataTypes.OnThisDay
{
public class Name
{
/// <summary>
/// First name.
/// </summary>
/// <value>
/// The name.
/// </value>
public ... |
using System;
using System.Threading.Tasks;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using UDS.Net.Data;
using UDS.Net.Data.Enums;
namespace COA.UDS.Web.Views.Shared.Components.FormStatusCount
{
public class VisitCountViewComponent : ViewComponent
{
priva... |
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace Animatroller.AdminTool.Controls
{
/// <summary>
/// Simple LED
/// </summary>
public partial class SimpleLed : UserControl
{
/// <summary>Dependency property to Get/Set Color</summary>
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Sulli.Game.Core
{
/// <summary>
/// 类型辅助类
/// </summary>
public static class TypeHelper
{
/// <summary>
/// 是否是可为空类型
/// </... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AroundCircle : MonoBehaviour
{
public GameObject sphere;
public Material black, blue, green, gray, yellow, pupple, orange, brown;
public List<GameObject> sphereList = new List<GameObject>();
public List<Materi... |
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Text;
namespace Uno.Wasm.Bootstrap.Cli.Server
{
class Program
{
public static IWebHost BuildWebHost(string[] args)
{
var initialData = n... |
namespace Iov42sdk.Models.GetEndorsement
{
public class EndorsementResult
{
public string EndorserId { get; set; }
public string Endorsement { get; set; }
public string DelegateIdentityId { get; set; }
public string Proof { get; set; }
}
} |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Reflection;
using Dapper.Extensions.Linq.Core.Enums;
using Dapper.Extensions.Linq.Core.Mapper;
namespace Dapper.Extensions.Linq.Mapper
{
/// <summary>
/// Maps an entity property to its corresponding col... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LCTFCommander
{
/// <summary>
/// Defines wavelength and dwell time for a single item in a sequence.
/// </summary>
public class ArbitrarySequenceItem : INotif... |
using System;
using System.Windows;
using System.Windows.Input;
using Toe.Scripting.WPF.ViewModels;
namespace Toe.Scripting.WPF
{
public class LocativeCommand : ICommand
{
private readonly Action<Point> _action;
private readonly MouseViewModel _mouse;
private bool _canExecute;
... |
using GeolettApi.Domain.Models;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace GeolettApi.Infrastructure.DataModel
{
public class DataSeeder
{
public static void SeedOrgani... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityStandardAssets.CrossPlatformInput;
public class move : MonoBehaviour
{
private int movespeed;
private GameObject _gameObject;
private bool enter=true;
void Start()
{
_... |
namespace FacebonkClickIDRemoverProxy
{
public interface ICruftRemoverConfiguration
{
string TargetBaseURI { get; }
}
}
|
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Linq;
using NuGet.Frameworks;
using Xunit;
namespace NuGet.Test
{
public class CompatibilityTableTe... |
using EnemyAI;
using UnityEngine;
// In place focus on target action.
[CreateAssetMenu(menuName = "Enemy AI/Actions/Spot Focus")]
public class SpotFocusAction : Action
{
// The act function, called on Update() (State controller - current state - action).
public override void Act(StateController controller)
{
con... |
namespace DotvvmAcademy.Meta.Syntax
{
public abstract class SimpleNameNode : NameNode
{
public SimpleNameNode(NameToken identifierToken)
{
IdentifierToken = identifierToken;
}
public NameToken IdentifierToken { get; }
}
} |
public class RocketOxidizerTracker : WorldTracker
{
public RocketOxidizerTracker(int worldID)
: base(worldID)
{
}
public override void UpdateData()
{
Clustercraft component = ClusterManager.Instance.GetWorld(base.WorldID).GetComponent<Clustercraft>();
AddPoint((component != null) ? component.ModuleInterface... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PlayerImageHandler : MonoBehaviour {
public Image[] constellationImgs;
public void SetCorrectImage(string ofinterest){
foreach(Image i in constellationImgs){
if(i.name == ofinterest){
i.canva... |
using System;
using System.Threading.Tasks;
using FluentAssertions;
using Xunit;
using LightInject;
using Moq;
using HuntLog.Interfaces;
using System.IO;
using HuntLog.AppModule.Hunts;
namespace HuntLog.Tests
{
public class HuntsViewInitializationTests : ContainerFixture
{
public HuntsViewMod... |
using System;
using static System.Text.Encoding;
namespace Microsoft.Data.Encryption.Cryptography.Serializers
{
/// <inheritdoc/>
public class StringSerializer : Serializer<string>
{
/// <inheritdoc/>
public override string Identifier => "String";
/// <inheritdoc/>
/// <ex... |
using GoSport.Core.ViewModel.Event;
using GoSport.Core.ViewModel.Venue;
using GoSport.Infrastructure.Data.DateModels;
namespace GoSport.Core.Services.Interfaces
{
public interface IEventsService
{
IEnumerable<EventViewModel> AllEvents();
Event Add(CreateEventViewModel model);
UpdateE... |
// 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 Windows.ApplicationModel.Resources;
namespace Microsoft.Toolkit.Uwp.Extensions
{
/// <summary>
/// UW... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using QuickGraph;
using OsgiViz.Core;
namespace OsgiViz.Relations
{
public class GraphEdge : Edge<GraphVertex>
{
private float weight;
public GraphEdge(GraphVertex source, GraphVertex target)
: base(so... |
namespace Shared.Dtos {
public class LoginDto {
public string GoogleIdToken { get; set; }
public GoogleUserDto User { get; set; }
}
}
|
/*
* Copyright 2013 NEHTA
*
* Licensed under the NEHTA Open Source (Apache) License; you may not use this
* file except in compliance with the License. A copy of the License is in the
* 'license.txt' file, which should be provided with this work.
*
* Unless required by applicable law or agreed to in writing, so... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsForms
{
public partial class AddModifyForm : Form
{
private Song song;
... |
using System;
using AzureExtensions.FunctionToken.FunctionBinding.Options.Interface;
using Microsoft.Azure.WebJobs.Description;
using Microsoft.Azure.WebJobs.Host.Config;
using Microsoft.Extensions.DependencyInjection;
namespace AzureExtensions.FunctionToken.FunctionBinding
{
/// <summary>
/// Defines an exte... |
using System;
using System.Threading;
using Xunit;
namespace Shaspect.Tests
{
public class ReturnValueTests : IDisposable
{
private static readonly object sync = new object();
private static object returnRes;
private readonly TestClass t;
public class SimpleAspectAttribute :... |
using System;
using Xunit;
using Uml.Robotics.Ros;
using Uml.Robotics.Ros.ActionLib;
using Messages.control_msgs;
using Messages.actionlib_msgs;
using System.Threading;
namespace Uml.Robotics.Ros.IntegrationTests
{
[Collection(RosFixture.ROS_COLLECTION)]
public class ActionLib
{
private RosFixtur... |
// License:
// Apache License Version 2.0, January 2004
// Authors:
// Aleksander Kovač
using Microsoft.EntityFrameworkCore;
namespace Shared.Blogs
{
public class BlogContext : DbContext
{
public BlogContext()
: base()
{
}
public BlogContext(Db... |
using System;
using System.Security.Claims;
using System.Threading.Tasks;
using DotVVM.Framework.Binding;
using DotVVM.Framework.Controls;
using DotVVM.Framework.Hosting;
using Microsoft.AspNetCore.Authorization;
namespace DotVVM.Contrib
{
/// <summary>
/// Renders different content to the users who met requi... |
using System.Collections.Generic;
using System.Linq;
using Sirenix.OdinInspector;
using UnityCommon.Modules;
using UnityEngine;
namespace UnityCommon.Runtime.UI.Animations
{
public class UIAnimGroup : MonoBehaviour
{
[SerializeField]
private bool onStart = false;
[SerializeField]
private bool... |
using System;
using Craft.Net.Common;
using System.IO;
namespace Craft.Net.Client
{
public static class DotMinecraft
{
public static string GetDotMinecraftPath()
{
if (RuntimeInfo.IsLinux)
return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Person... |
namespace Lesson1.Tests
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
[TestClass]
public class UnitTests
{
[TestMethod]
public void AcceptanceTest1()
{
// Arrange
var solution = new Solution();
var input = 1041;
// Act
var result = solution.Solve(input);
//... |
using System.Threading.Tasks;
using Elasticsearch.Net;
namespace MyWebService.Logging
{
/// <summary>
/// Custom logger to log ElasticSearch API calls
/// </summary>
public interface IEsApiCallDetailsLogger
{
/// <summary>
/// Synchronus logging
/// </summary>
... |
namespace Square.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Square;
using... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Track : MonoBehaviour
{
private void OnEnable()
{
EnabelVfx();
}
IEnumerator EnabelVfx()
{
this.transform.GetChild(0).gameObject.SetActive(true);
yield return new WaitForSeconds(3f);
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class UFOController : MonoBehaviour
{
public GameObject projectilePrefab;
Rigidbody2D rigidbody2d;
private bool isDead;
Collider2D myCollider;
public T... |
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
// ReSharper disable CheckNamespace
// ReSharper disable CommentTypo
// ReSharper disable IdentifierTypo
// ReSharper disable UnusedMember.Global
// ReSharper... |
using System;
using System.Text.RegularExpressions;
namespace TwilioSmsRelay
{
public class Validation
{
public static Tuple<string, string> SplitNumber(string body)
{
var forwardingToNumber = string.Empty;
var forwardingMessage = string.Empty;
int phoneLen... |
using System;
using System.Collections.Generic;
using System.Text;
namespace NetoDotNET.Resources.Warehouses
{
class GetWarehouseRequest : INetoRequest
{
private readonly GetWarehouseFilter _getWarehouseFilter;
public string NetoAPIAction => "GetWarehouse";
public GetWarehouseRequest... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.