text stringlengths 1 932k |
|---|
#if !NETSTANDARD13
/*
* 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 ... |
using System;
using System.IO;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.Extensions.Logging;
using Moq;
using Newtonsoft.Json.Linq;
using Stratis.Bitcoin.Configuration;
using Stra... |
// <auto-generated />
using DatingApp.API.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace DatingApp.API.Migrations
{
[DbContext(typeof(DataContext))... |
/*
*
* Copyright 2015 Netflix, 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 a... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace cm.Services
{
// This class is used by the application to send email for account confirmation and password reset.
// For more details see https://go.microsoft.com/fwlink/?LinkID=532713
public class E... |
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("Tes... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Markup;
using System.Windows.Media.Animation;
using Granular.Extensions;
namespace System.Windows
{
[ContentProperty("States")]
[RuntimeNameProperty("Name")]
[Bridge.Reflectable(Bridge.MemberAccessib... |
using RapidGUI;
using System;
namespace PrefsGUI
{
/// <summary>
/// PrefsParam for user type that has new(), serializable by Unity(JsonUtility)
/// </summary>
[Serializable]
public class PrefsAny<OuterT> : PrefsParamOuterInner<OuterT, string>
where OuterT : new()
{
public Pre... |
using MvvmCross.Core.ViewModels;
namespace MvvmCross.Test.Mocks.TestViewModels
{
public class ViewModelA
: MvxViewModel
{
}
public class ViewModelB
: MvxViewModel
{
}
public class ViewModelC
: MvxViewModel
{
public void Init(string id)
{
... |
namespace BashSoft
{
using System.IO;
public static class SessionData
{
private static string currentPath;
public static string CurrentPath
{
get
{
if (string.IsNullOrEmpty(currentPath))
{
currentPath = Di... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using A... |
using System;
using UnityEngine;
using UnityEngine.XR;
#if !UNITY_2019_3_OR_NEWER
using UnityEngine.Experimental;
using UnityEngine.Experimental.XR;
#endif
namespace UnityEngine.XR.Management.Tests.Standalone
{
namespace Providing
{
public class StandaloneSubsystemParams
{
public ... |
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Utilities;
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TeamsManifestExtension.NavigationMargin
{
[Export(typeof(IWpfTextVie... |
using GLib;
using System;
using Uno.UI.Runtime.Skia;
namespace UnoSample.Skia.Gtk
{
class Program
{
static void Main(string[] args)
{
ExceptionManager.UnhandledException += delegate (UnhandledExceptionArgs expArgs)
{
Console.WriteLine("GLIB UNHANDLED EXC... |
using System.ComponentModel;
using System.Globalization;
namespace System.Windows.Forms
{
public class LinkConverter : TypeConverter
{
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
{
throw null;
}
public override bool CanConvertTo(ITypeDescriptorContext context, Typ... |
namespace RubiksCube
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class RubiksCube
{
public static void Main()
{
var tokens = Console.ReadLine()
.Split(new char[] { '... |
using Microsoft.AspNetCore.Identity;
namespace Bet.Blog.Data
{
public class AppUser : IdentityUser
{
}
} |
using ILRuntime.Mono.Cecil.Cil;
using System;
namespace ILRuntime.Mono.Cecil {
internal sealed class GenericParameterResolver {
internal static TypeReference ResolveReturnTypeIfNeeded (MethodReference methodReference)
{
if (methodReference.DeclaringType.IsArray && methodReference.Name == "Get")
return met... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace Keg.DAL.Models
{
public class Measurement : IComparable<Measurement>, I... |
namespace LibSassHost.Test.Common
{
/// <summary>
/// Stylesheet syntax types
/// </summary>
public enum SyntaxType
{
/// <summary>
/// Sass syntax
/// </summary>
Sass,
/// <summary>
/// SCSS syntax
/// </summary>
Scss
}
} |
#pragma checksum "C:\Users\panag\Desktop\anyplace\windows\AnyPlace\Settings.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "2EBB4EA1E0E5BCD8CD4FDE8DF9997CD9"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Ver... |
#if !UNITY_WEBPLAYER
// Note: This behaviour cannot be used in WebPlayer
using System;
#if UNITY_EDITOR
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using UnityEditor;
#endif
using UnityEngine;
namespace Tiled2Unity
{
// Class to help us manage... |
/* MIT License
Copyright (c) 2011-2019 Markus Wendt (http://www.dodoni-project.net)
All rights reserved.
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 li... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using WhackAMole.KubeServices;
using WhackAMole.KubeServices.Models;
using WhackAMole.KubeServices.Providers;
// For more information on enabling Web API... |
using UnityEngine;
using System.Collections;
public class AP_HitSlowPreset : AS_ActionPreset
{
public override void Shoot (GameObject bullet)
{
if (!ActionCam) {
return;
}
ActionCam.ObjectLookAt = null;
base.Shoot (bullet);
}
public override void FirstDetected (AS_Bullet bullet, AS_BulletHiter target,... |
using Godot;
namespace MixedRealityExtension.ProceduralToolkit
{
public struct IntersectionSegmentSphere
{
public IntersectionType type;
public Vector3 pointA;
public Vector3 pointB;
public static IntersectionSegmentSphere None()
{
return new IntersectionSegmentSphere {type = IntersectionType.None};
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media.Media3D;
namespace TextLayers
{
// Hold points that make up a polygon.
public class Polygon
{
public List<Point3D> Points = null;
// Copy the poi... |
using System.Text;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory;
namespace Rocket.Surgery.LaunchPad.Analyzers;
/// <summary>
/// A generator that is ... |
using System;
using System.Collections;
using System.Collections.Generic;
using CitizenFX.Core.Native;
using System.Security;
namespace CitizenFX.Core
{
public enum FormationType
{
Default,
Circle1,
Circle2,
Line
}
public class PedGroup : PoolObject, IEquatable<PedGroup>, IEnumerable<Ped>, IDisposable
{
... |
namespace Pong.GameObjects
{
public class Paddle : GameObject
{
}
} |
using System;
using EnvDTE;
using Microsoft.VisualStudio.ProjectSystem.VS;
using Microsoft.VisualStudio.Shell;
using VSLangProj80;
namespace GoToDnSpy
{
internal static class EnvDteExtensions
{
public static T FindByNameOrDefault<T>(this Properties properties, string name)
{
if (pro... |
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
namespace ControlCatalog.Views
{
public class CustomNotificationView : UserControl
{
public CustomNotificationView()
{
this.InitializeComponent();
}
private void InitializeComponent()
{
Avaloni... |
using System;
using System.Globalization;
using System.IO;
using System.Text;
using System.Threading;
using System.Windows.Forms;
namespace Netch
{
public static class Netch
{
/// <summary>
/// 应用程序的主入口点
/// </summary>
[STAThread]
public static void Main(string[] args)
... |
namespace Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.Api20200601
{
using static Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Runtime.Extensions;
/// <summary>The result of a request to list configuration store operations.</summary>
public partial class OperationDefinitionListResult
... |
@model HomeIndexViewModel
@{
ViewBag.Title = "Home Page";
}
<h1>All Restaurants</h1>
@foreach (var restaurant in Model.Restaurants)
{
@Html.Partial("_Summary", restaurant)
}
<div><a asp-action="Create" class="btn btn-primary">Add Restaurant</a></div>
@*@section footer{
@Model.CurrentMessage
}*@ |
namespace ClassLib118
{
public class Class039
{
public static string Property => "ClassLib118";
}
} |
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using OrchardCore.Mvc.Utilities;
namespace OrchardCore.Lucene.Controllers
{
[Route("api/lucene")]
[ApiController]
[Authorize(AuthenticationSchemes... |
/*
* Copyright 2015 Google 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... |
using Microsoft.AspNetCore.Components.WebAssembly.Authentication;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace blazorui
{
internal class GraphQLRequest
{
private HttpCli... |
namespace Basket.FunctionalTests;
public class BasketScenarios
: BasketScenarioBase
{
[Fact]
public async Task Post_basket_and_response_ok_status_code()
{
using var server = CreateServer();
var content = new StringContent(BuildBasket(), UTF8Encoding.UTF8, "application/json");
v... |
using AutoMapper;
using Business.Interface.Common;
using Business.Utils;
using Business.Utils.Pagination;
using Entity.Common;
using FreeSql;
using Microservice.Library.DataMapping.Gen;
using Microservice.Library.Extension;
using Microservice.Library.FreeSql.Extention;
using Microservice.Library.FreeSql.Gen;
using Mic... |
using System;
using System.Collections.Generic;
using System.Text;
namespace MinuteManager
{
public class Decision
{
}
} |
// 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 System.Collections.Generic;
//using System.Linq;
using System.Text;
using System.Threading.Tasks... |
using System;
using System.Windows.Forms;
namespace StreamingClient
{
static class Program
{
/// <summary>
/// 해당 응용 프로그램의 주 진입점입니다.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatib... |
namespace Main.Wpf.Pages
{
public partial class Load
{
public Load()
{
InitializeComponent();
}
}
} |
// Copyright information can be found in the file named COPYING
// located in the root directory of this distribution.
//------------------------------------------------------------------------------
// Fog
//------------------------------------------------------------------------------
singleton ShaderData( FogPassS... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace Peralta100430840_lib1.Personas
{
public class Piloto : IOAqui.DataInterface, IOAqui.iPersistencia
{
private int IDEmploye;
private string Passport;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace System.Text.RegularExpressions.LogJointVersion
{
public static class SR
{
public static string GetString(string str, params object[] args)
{
return string.Format(str, args);
}
pu... |
// <copyright file="GrowActivityMiddleware.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace Microsoft.Teams.Apps.Grow.Bot
{
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Schema... |
using System.Collections;
namespace CatenaX.NetworkServices.PortalBackend.DBAccess.Models
{
public class CompanyInvitedUser
{
public CompanyInvitedUser(Guid companyUserId, string userEntityId, IEnumerable<Guid> roleIds)
{
CompanyUserId = companyUserId;
UserEntityId = user... |
using System.Collections.Generic;
using Machine.Specifications;
using Mixpanel.NET.Events;
namespace Mixpanel.NET.Specs.Integration
{
// Use this test to verify your mixpanel token is working.
public class when_sending_valid_dictionary_data_to_mixpanel {
Establish that = () => {
_panel = new MixpanelTra... |
using Frapper.Entities.Usermaster;
namespace Frapper.Repository.Usermaster.Command
{
public interface IUserMasterCommand
{
void Add(UserMaster usermaster);
void Update(UserMaster usermaster);
void ChangeUserStatus(UserMaster usermaster);
void UpdatePasswordandHistory(long userId, s... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DSharpPlus;
using DSharpPlus.Entities;
using DSharpPlus.Interactivity;
using Nami.Common;
using Nami.Extensions;
using Nami.... |
//------------------------------------------------------------------------------
// <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;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
using Dungeons_Exam.Bags;
using Dungeons_Exam.Interfaces;
namespace Dungeons_Exam.Characters
{
public class Warrior:Character,IAttackable
{
public Warrior(string name, Faction faction)
{
... |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Devices.WiFi
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
#endif
public partial class WiFiAvailableNetwork
{
#if __ANDROID__ || __IOS__ || NET46 |... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml;
using RobloxFiles.DataTypes;
using RobloxFiles.XmlFormat;
namespace RobloxFiles
{
public class XmlRobloxFile : RobloxFile
{
public readonly XmlDocument XmlDocument = new XmlDocume... |
/*
dotNetRDF is free and open source software licensed under the MIT License
-----------------------------------------------------------------------------
Copyright (c) 2009-2012 dotNetRDF Project (dotnetrdf-developer@lists.sf.net)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this ... |
//===============================================================================
// Microsoft patterns & practices Enterprise Library
// Core
//===============================================================================
// Copyright © Microsoft Corporation. All rights reserved.
// THIS CODE AND INFORMATION IS PR... |
// This code is part of the Fungus library (https://github.com/snozbot/fungus)
// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEngine;
using UnityEngine.Serialization;
using System;
using System.Collections;
using System.Collections.Generi... |
#nullable enable
using System;
using System.Collections.Generic;
using Content.Server.GameObjects.Components.Body.Digestive;
using Content.Server.GameObjects.Components.Chemistry;
using Content.Server.GameObjects.Components.GUI;
using Content.Server.GameObjects.Components.Items.Storage;
using Content.Server.GameObject... |
/*
Written by Peter O.
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
If you like this, you should donate to Peter O.
at: http://peteroupc.github.io/
*/
using System;
namespace PeterO.Numbers {
/// <summary>Exception thrown for arithmetic trap errors. (The "E"
/... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using UnityEditor;
using UnityEngine;
namespace Nodux.PluginEditor
{
public static class SerializedPropertyExtensions
{
public static T GetValue<T>(this SerializedProperty property)
... |
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("Je... |
// Authors:
// Rafael Mizrahi <rafim@mainsoft.com>
// Erez Lotan <erezl@mainsoft.com>
// Oren Gurfinkel <oreng@mainsoft.com>
// Ofer Borstein
//
// Copyright (c) 2004 Mainsoft Co.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated do... |
/*
* Copyright 2008-2013 Mohawk College of Applied Arts and Technology
*
* 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
*
* Unl... |
using System;
using System.Collections.Generic;
using System.Text;
using LiteDB;
using Poco.Evolved.Core.Transactions;
namespace Poco.Evolved.LiteDB.Transactions
{
/// <summary>
/// Factory for creating a unit of work for LiteDB.
/// </summary>
public class LiteDBUnitOfWorkFactory : IUnitOfWorkFacto... |
using System.Text.Json;
using Luno.Client.Websocket.Json;
using Luno.Client.Websocket.Models;
using Microsoft.Extensions.Logging;
using Websocket.Client;
namespace Luno.Client.Websocket.Client;
/// <summary>
/// Luno account websocket client.
/// Use `Streams` to handle messages.
/// </summary>
public class LunoUserW... |
using MetroDom.Core.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MetroDom.Core
{
public class Orchestra
{
private ICollection<IInstrument> _instruments;
public Orchestra(ICollection<IInstrument> instr... |
namespace CodingCompetition.Application.Models.SharedPad
{
public class CodePad
{
public string Id { get; set; }
public string Code { get; set; }
public string Theme { get; set; }
public Language Language { get; set; }
}
} |
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("11... |
using System.Collections.Generic;
using System.Linq;
using UnityEditor.Experimental.GraphView;
using UnityEditor.UIElements;
using UnityEditor.VisualScripting.Editor;
using UnityEditor.VisualScripting.Editor.SmartSearch;
using UnityEditor.VisualScripting.GraphViewModel;
using UnityEditor.VisualScripting.SmartSearch;
us... |
// Copyright (c) André N. Klingsheim. See License.txt in the project root for license information.
namespace NWebsec.Core.Common.HttpHeaders.Configuration
{
public class CspSandboxDirectiveConfiguration : ICspSandboxDirectiveConfiguration
{
public bool Enabled { get; set; }
public bool AllowFo... |
using UnityEngine;
using UnityEngine.Playables;
using UnityEngine.Timeline;
using System;
using System.Linq;
using System.Collections.Generic;
using UniRx;
using Extensions;
namespace Modules.TimeLine.Component
{
public sealed class LabelClip : PlayableAsset, ITimelineClipAsset
{
//----- params -----... |
using System;
using System.Collections.Generic;
using System.Text;
namespace RK7Die.Query
{
/// <summary>
/// <para xml:lang="ru">Получить список заказов (ver 2)</para>
/// </summary>
public partial class QueryGetOrderList2 : RK7Cmd
{
/// <summary>
/// <para xml:lang="ru">Официант.... |
#if !UNITY_WEBPLAYER && !UNITY_WSA && !UNITY_WEBGL
using UnityEngine;
using System;
namespace Crosstales.UI.Util
{
/// <summary>Take a screen shot of the application.</summary>
public class TakeScreenshot : MonoBehaviour
{
#region Variables
public string Prefix = "CT_Screenshot";
... |
/* Copyright 2020 Research group ICT innovations in Health Care, Windesheim University of Applied Sciences
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/LICENS... |
/*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2013 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For ... |
namespace bovsclik.Levels
{
public class DungeonData
{
public int TopX { get; set; }
public int TopY { get; set; }
public int Width { get; set; }
public int Height { get; set; }
public DungeonRoom DungeonRoom { get; set; }
}
public class DungeonRoom
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using GsaAPI;
using Grasshopper.Kernel;
using Grasshopper.Kernel.Types;
using Rhino.Geometry;
using Rhino;
using GhSA.Util.Gsa;
using Grasshopper.Documentation;
using Rhino.Collections;
namespace GhSA.Parameters
{
/// <summary>
/// Spring cla... |
using ApiAuthVerifyToken.V1.Factories;
using ApiAuthVerifyToken.V1.Domain;
using FluentAssertions;
using NUnit.Framework;
using AutoFixture;
using ApiAuthVerifyToken.V1.Infrastructure;
namespace ApiAuthVerifyToken.Tests.V1.Factories
{
[TestFixture]
public class EntityFactoryTest
{
[Test]
pu... |
namespace Minecraft.Model.Java
{
public enum CommandBlockType
{
Impulse = 0,
Repeating = 1,
Chain = 2
}
} |
//------------------------------------------------------------------------------
// <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>
//--... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StudentsAndWorkers.Contracts
{
interface IHuman
{
string FirstName { get; set; }
string SecondName { get; set; }
string Print();
}
} |
using System.ComponentModel.DataAnnotations.Schema;
namespace EfCore.Attempt1.Model
{
public class Student
{
public int Id { get; set; }
public string Name { get; set; }
public int RatingId { get; set; }
public Rating Rating { get; set; }
}
} |
using System;
using System.Collections.Generic;
using BEPUphysics.BroadPhaseEntries;
using BEPUphysics.BroadPhaseSystems;
using BEPUphysics.Collidables;
using BEPUphysics.Collidables.MobileCollidables;
using BEPUphysics.Constraints;
using BEPUphysics.Constraints.Collision;
using BEPUphysics.DataStructures;
using BEPUp... |
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Routing;
using Microsoft.AspNet.FriendlyUrls;
namespace _01.Registration_Form
{
public static class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
var settings = new Friendl... |
using NUnit.Framework;
using System;
namespace Store.Tests
{
public class StoreManagerTests
{
private Product product;
[SetUp]
public void Setup()
{
this.product = new Product("Laptop", 2, 4569.00M);
}
[Test]
public void ConstructorShouldWork... |
using Lazurite.ActionsDomain;
using Lazurite.CoreActions;
using System;
using System.Windows.Controls;
namespace LazuriteUI.Windows.Main.Constructors.Decomposition
{
/// <summary>
/// Логика взаимодействия для ExecuteActionView.xaml
/// </summary>
public partial class CancelExecutionActionView : Stack... |
using FakeItEasy;
using Microsoft.Extensions.Logging;
namespace Rocket.Surgery.Extensions.Testing;
/// <summary>
/// A simple logging factory to create a faked logger, wrapping the logger
/// </summary>
internal class FakeItEasyLoggerFactory : LoggerFactory, ILoggerFactory
{
private readonly ILoggerFactory _f... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SimpleGenetic.Code.Chromosome
{
public interface IChromosome
{
void Mutate(int mutations = 1);
void Crossover(IChromosome target);
void Cut(int cuts = 1);
... |
using System;
namespace System.Printing {
public class PrintDocumentImageableArea
{
public double ExtentHeight
{
get
{
throw new NotImplementedException();
}
}
public double ExtentWidth
{
get
{
throw new NotImplementedException();
}
}
public double MediaSizeHeight
{
get
{
throw new ... |
#if UNITY_IOS
// Copyright (C) 2015 Google, 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 ... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
using System.Reflection.Metadata;
using System.Reflection.Metadata.Ecma335;
using... |
// <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 Csrs.Interfaces.Dynamics.Models
{
using Newtonsoft.Json;
using System.Collections;
using System.Collections.... |
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("Wor... |
using Backend.Models.MetAPI.POCO;
using GraphQL.Types;
namespace Backend.Models.MetAPI.GraphQLTypes
{
public sealed class Next1HoursType : ObjectGraphType<Next1Hours>
{
public Next1HoursType()
{
Field(next => next.Details, false, typeof(DetailsType));
Field(next => next... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ITVComponents.InterProcessCommunication.MessagingShared.Hub.Protocol
{
[Serializable]
public class ServiceDiscoverMessage
{
public string TargetService { get; set; }
}
... |
namespace Gherkin.Events
{
public interface IEvent
{
}
} |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT license.
*/
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Connector;
using Microsoft.Bot.Connector.Teams.Models;
using System.Text;
using System.Threading.Tasks;
namespace officedev_talent_management
{
public class... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.