text stringlengths 1 932k |
|---|
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("03... |
// This file is part of the C6 Generic Collection Library for C# and CLI
// See https://github.com/C6/C6/blob/master/LICENSE.md for licensing details.
using System;
using System.Diagnostics.Contracts;
using System.Linq;
using NUnit.Framework.Constraints;
using NUnit.Framework.Internal;
using SCG = System.Collection... |
namespace Qwiq
{
internal class IdentityDescriptorComparer : GenericComparer<IIdentityDescriptor>
{
internal new static IdentityDescriptorComparer Default => Nested.Instance;
private IdentityDescriptorComparer()
{
}
// ReSharper disable ClassNeverInstantiated.Local
... |
// Copyright (c) Approxoft. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace SvgBlazor.Docs.Models
{
public class ElementApiProperty : IElementApiElement
{
public string Name { get; set; }
public string Type { get; set; ... |
using System.Reflection;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("Godot1")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyPr... |
/*
* 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... |
/****************************************************************************
* Copyright (c) 2017 ~ 2018.5 liangxie
*
* http://liangxiegame.com
* https://github.com/liangxiegame/QFramework
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated docum... |
namespace NetDaemon.Client.Common.HomeAssistant.Model;
public record HassUnitSystem
{
[JsonPropertyName("length")]
public string? Length { get; init; }
[JsonPropertyName("mass")]
public string? Mass { get; init; }
[JsonPropertyName("temperature")]
public string? Temperature { get; init; }
... |
using System;
namespace ReSharperReports
{
/// <summary>
/// A simple logging class for returning information to both command line and file
/// </summary>
public static class Logger
{
static Logger()
{
Reset();
}
/// <summary>
/// Gets or sets t... |
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("GK... |
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security.Permissions;
[assembly: AssemblyCopyright("Copyright © 2009")]
[assembly: AssemblyDescription("Contains a Reflector add-in to find all of the exceptions a m... |
// This file is part of Core WF which is licensed under the MIT license.
// See LICENSE file in the project root for full license information.
namespace System.Activities.Expressions
{
using System;
using System.Activities.Internals;
using System.Activities.Runtime;
using System.Activities.Runtime.Coll... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Visitor
{
class Success : Action
{
public override void GetManConclusion(Man concteteElementA)
{
Console.WriteLine($"{concteteElementA.ToString()}{ToString()}时,背后多半有一个伟大的女人");
}
public ove... |
using UnityEngine;
using System.Collections;
public class RayShooter : MonoBehaviour {
private Camera _camera;
void Start() {
_camera = GetComponent<Camera>(); // access other components attached to the same object
// Hide the mouse cursor at the center of the screen
Cursor.lockState = CursorLockMode.Locked... |
// ----------------------------------------------------------------------------------
//
// 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 (c) 2006 Microsoft Corporation. All rights reserved.
//
// The use and distribution terms for this software are contained in the file
// named license.txt, which can be found in the root of this distribution.
// By using this software in any fashion, you are agreeing to ... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
namespace Azure.Management.Storage.Models
{
/// <summary> Blob restore parameters. </summary>
public parti... |
namespace RegionOrebroLan.DataProtection.DependencyInjection.Configuration
{
public abstract class ConnectionStringOptions : DataProtectionOptions
{
#region Properties
public virtual string ConnectionStringName { get; set; }
#endregion
}
} |
// 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.Linq;
using System.Runtime.InteropServices;
using BasicTestApp;
using BasicTestApp.RouterTest;
using Microsoft.AspNetCore.Com... |
using System;
using System.Collections.Generic;
using EscapePrevention;
using NUnit.Framework;
namespace EscapePrevention_Tests
{
[TestFixture]
public class UrlSpaceRemoval
{
public const EscapePreventionKind remove = EscapePreventionKind.UrlSpaceRemoval;
[Test]
public void OnlyAS... |
// --------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
// --------------------------------------------------------------------------------------------
using Microsoft.Oryx.BuildScri... |
using System;
using System.Collections.Generic;
namespace Konveyor.Core.Models
{
public class Roles
{
public Roles()
{
Employees = new HashSet<Employees>();
}
public int RoleId { get; set; }
public string RoleName { get; set; }
public string Descrip... |
using System.Collections.Generic;
using System.Linq;
using GW2Scratch.ArcdpsLogManager.Logs;
namespace GW2Scratch.ArcdpsLogManager.Sections.Players
{
public class PlayerData
{
public string AccountName { get; }
public IReadOnlyList<LogData> Logs { get; }
public PlayerData(string accountName, IEnumerable<LogDa... |
/*
* 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 Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace DFC.App.MatchSkills.Services.ServiceTaxonomy.Models
{
public class GetOccupationsWithMatchingSkillsResponse
{
public class MatchedOccupation
{
[JsonProperty("uri")]
public string Uri { get;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using moddingSuite.View.Common;
using moddingSuite.View.Edata;
using moddingSuite.View.Mesh;
using moddingSuite.View.Ndfbin;
using moddingSuite.View.Ndfbin.Viewer;
using moddingSuite.View.Scenario;
using moddingSuite.View.VersionM... |
// <copyright file="GcdRelatedTestBigInteger.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
//
// Copyright (c) 2009-2016 Math.NET
//
// Permission is hereby granted, free of charge, to any person
// obtaining a ... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Net.Http.Headers;
using System.Web.Http.Description;
using SqlServerRestApiSample.Areas.HelpPage.ModelDescriptions;
namespace SqlServerRestApiSample.Areas.HelpPage.Models
{
/// <summary>
/// The model that represents an API di... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.Reservations.Models
{
internal partial class QuotaRequestProperties
{
}
} |
using System;
using System.Linq;
using System.Linq.Expressions;
using SpeedTestApi.Database.Models;
namespace SpeedTestApi.Query
{
public static class Filter
{
public static IQueryable<SpeedTestResult> FilterTickets(this IQueryable<SpeedTestResult> query, QueryParameters param)
{
re... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace Application.Client
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
... |
using System;
using System.Collections;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Godot;
namespace UnityEngine
{
public class MonoBehaviour : Behaviour
{
public Task StartCoroutine(string methodName)
{
return null;
}
//
// Sum... |
namespace ESFA.DC.ILR1819.DataStore.PersistData.Constants
{
public static class FM36Constants
{
public const string FM36_global = "Rulebase.AEC_global";
public const string FM36_Learner = "Rulebase.AEC_Learner";
public const string FM36_LearningDelivery = "Rulebase.AEC_LearningDeliver... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.ComponentModel;
namespace Azure.ResourceManager.DeviceUpdate.Models
{
/// <summary> The private endpoint connection status. </summary>
public read... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.VisualStudio.LanguageServices.Implementation.RQName.SimpleTree;
namespace Microsoft.VisualStudio.LanguageServices.Implementation.RQName.Nodes... |
/*
* 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 JetBrains.Annotations;
namespace Content.Server.AI.WorldState.States.Combat.Ranged
{
/// <summary>
/// How many shots to take before cooling down
/// </summary>
[UsedImplicitly]
public sealed class MaxBurstCount : PlanningStateData<int>
{
public override string Name => "BurstCount... |
/*
* 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.Net.Http;
using JetBrains.Annotations;
using Thinktecture.Net.Http;
using Thinktecture.Net.Http.Adapters;
// ReSharper disable once CheckNamespace
namespace Thinktecture
{
/// <summary>
/// Extensions for <see cref="HttpMessageHandler"/>.
/// </summary>
public static class HttpMessageHandlerExtensions... |
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using Chinook.Domain.Supervisor;
using Chinook.Domain.ApiModels;
using Microsoft.AspNetCore.Cors;
namespace Chinook.API.Controllers
{
[Route("api/[controller]")]
[EnableCors("CorsPolicy")]
[ApiController]
public class Albu... |
namespace CertificateServices
{
public class CertificateRequestValidation
{
public bool IsValidKeySize(CipherAlgorithm cipher, int keySize)
{
if (cipher == CipherAlgorithm.RSA && IsValidRsaKeySize(keySize))
return true;
if (cipher == CipherAlgorithm.ECD... |
using System;
using System.Collections.Generic;
using WeddingInfo.Domain.DTOs;
using WeddingInfo.Domain.Enumerations;
using MediatR;
namespace WeddingInfo.Domain.Commands.CreateEvent
{
public class CreateEventCommand: IRequest<EventDto>
{
public int Id { get; set; }
public string Name { get; set; }
p... |
// *** 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) 2011 Vesa Tuomiaro
// 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, modify, merge, publish, ... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Text;
using Sii.Parsing;
namespace Sii
{
public sealed class SiiDocument
{
private readonly ReadOnlyCollection<Type> DocumentTypes;
public ReadOnlyDictionary<s... |
using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using UIKit;
namespace Media.Plugin.Sample.iOS
{
public class Application
{
// This is the main entry point of the application.
static void Main(string[] args)
{
// if you want to use a di... |
/*
* Copyright 2018 JDCLOUD.COM
*
* 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... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - Home.UI</title>
<environment include="Development">
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" />
<link ... |
// <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 Microsoft.Dynamics.CustomerInsights.Api.Models
{
using System.Linq;
/// <summary>
/// The instance creation... |
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("Ma... |
namespace ClearHl7.Codes.V280
{
/// <summary>
/// HL7 Version 2 Table 0350 - Occurrence Code.
/// </summary>
/// <remarks>https://www.hl7.org/fhir/v2/0350</remarks>
public enum CodeOccurrenceCode
{
/// <summary>
/// ... - Use NUBC codes.
/// </summary>
UseNubcCod... |
using System;
using System.ComponentModel.DataAnnotations;
using SBTCustomerManager.Models.CompanyDataModel;
namespace SBTCustomerManager.Models.UserDataModels
{
public class UserDetail
{
[StringLength(255)]
public string Name { get; set; }
[Required]
[StringLength(100)]
... |
/*
* 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
*
... |
using Volo.Abp.Account;
using Volo.Abp.AutoMapper;
using Volo.Abp.FeatureManagement;
using Volo.Abp.Identity;
using Volo.Abp.Modularity;
using Volo.Abp.PermissionManagement;
using Volo.Abp.TenantManagement;
namespace Prometyum.Sample
{
[DependsOn(
typeof(SampleDomainModule),
typeof(AbpAccountAppli... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Engine;
namespace Medical
{
/// <summary>
/// This is very similar to flow layout, but it will stretch all the children along the secondary axis.
/// </summary>
public class StretchLayoutContainer : LayoutConta... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Flurl;
using Flurl.Http;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
{
/// <summary>
/// 为 <see cref="WechatTenpayClient"/> 提供电商收付通退款相关的 API 扩展方法。
/// </... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Text.Json;
using Azure.Core;
namespace Azure.ResourceManager.Sql.Models
{
public partial class CheckNameAvailabilityResponse
{
internal static CheckName... |
using PizzaBox.Domain.Abstracts;
namespace PizzaBox.Domain.Models
{
public class Topping : AComponent
{
}
} |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18033
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
// 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.
#nullable disable
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Test.Utilities;
using R... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Open_Rails_Triage.Trello
{
public class Cache
{
readonly string Key;
readonly string Token;
readonly HttpClient Client = new HttpClient();
readonly Dictiona... |
namespace ScriptExample.Containers.GameHost
{
public interface ISettings
{
string GameName { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using Orchard.Autoroute.Models;
using Orchard.ContentManagement;
using Orchard.ContentManagement.Aspects;
using Orchard.Core.Title.Models;
namespace Orchard.Taxonomies.Models {
public class TermPart : ContentPart<TermPartRecord> {
public s... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Audio;
public class MusicController : MonoBehaviour
{
public GlobalInfo info;
public AudioMixer audioMixer;
public AudioSource victorySong, defeatSong;
bool playedwin, playeddefeat;
private bool isFren... |
using BeetleX.XRPC.Clients;
using BeetleX.XRPC.Packets;
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 S... |
using IIUWr.ViewModels;
using IIUWr.Views;
using LionCub.Patterns.DependencyInjection;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
namespace IIUWr
{
/// <summary>
/// Provides application-specific behavior to supplement the default Application class.
/// </summary>
sealed partial... |
using System;
namespace Versioning
{
public class Project : Sage_Object
{
/* Autogenerated by sage_wrapper_generator.pl */
SageDataObject120.Project proj12;
SageDataObject130.Project proj13;
SageDataObject140.Project proj14;
SageDataObject150.Project proj15;
Sage... |
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Diagnostics;
using System.Reflection;
namespace CliToolkit.Internal
{
internal class AppSettings
{
private string _name;
internal bool ShowHeaderFooter { get; set; }
in... |
namespace DotNetGB.Hardware.GpuPhases
{
public interface IGpuPhase
{
bool Tick();
}
} |
// Copyright (c) 2010-2014 SharpDX - Alexandre Mutel
//
// 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, modi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SplinterTrip
{
class SplinterTrip
{
static void Main(string[] args)
{
double distance = double.Parse(Console.ReadLine());
double tankCapacity = ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace sample_api.Models
{
public class ProductRepository : IStoreRepository
{
private readonly TataDBContext _context;
// Data Context knows how to connect to db
public ProductReposito... |
using System;
namespace KubernetesDotnetDiagnostics.Exceptions
{
internal class InternalException : Exception
{
public InternalException()
{
}
public InternalException(string message)
: base(message)
{
}
public InternalException(string mess... |
/*
* 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... |
//
// ---------------------------------------------------------------------------
// NoteType delete command.
//
using System;
using System.Text;
using System.Reflection;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
//
using Microsoft.EntityFrameworkCore;
using MediatR;
using ... |
using System;
namespace Urho.Shapes
{
public class Sphere : Shape
{
[Preserve]
public Sphere() : base() { }
[Preserve]
public Sphere(IntPtr handle) : base(handle) { }
protected override string ModelResource => "Models/Sphere.mdl";
}
} |
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
namespace Jeelu.KeywordResonator.Client
{
public class CoreStatus : StatusStrip
{
static CoreStatus _myStatusStrip = null;
static public CoreStatus MyStatusStrip
{
get
... |
using System;
using System.Threading;
using System.Threading.Tasks;
using ActiveMQ.Artemis.Client;
using ActiveMQ.Artemis.Client.Exceptions;
using Microsoft.Extensions.Logging;
namespace Producer
{
class Program
{
static async Task Main(string[] args)
{
var cts = new CancellationTo... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace DotNetCheck
{
public class Util
{
public static Dictionary<string, string> EnvironmentVariables { get; } = new Dictionary<string, string>();
public static Platform Platform
{
get
{
... |
#pragma warning disable 109, 114, 219, 429, 168, 162
namespace cs
{
public class Lib : global::haxe.lang.HxObject
{
public Lib(global::haxe.lang.EmptyObject empty)
{
unchecked
{
#line 29 "C:\\HaxeToolkit\\haxe\\std/cs/Lib.hx"
{
}
}
#line default
}
public Lib()
{
... |
/*
* 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... |
// This file is part of Silk.NET.
//
// You may modify and distribute Silk.NET under the terms
// of the MIT license. See the LICENSE file for details.
using System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Text;
using Silk.NET.Core;
using Silk.NET.Core.Native;
using ... |
// Copyright (c) Microsoft. 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.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp... |
//
// Copyright (c) Microsoft and contributors. 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 requi... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using... |
using System.Collections.Generic;
using FluentAssertions;
using NSubstitute;
using NUnit.Framework;
using GitHub.Unity;
using TestUtils;
namespace UnitTests
{
[TestFixture]
public class LinuxGitEnvironmentTests: GitEnvironmentTestsBase
{
public static IEnumerable<TestCaseData> ValidateGitPath_TestC... |
//------------------------------------------------------------
// Game Framework
// Copyright © 2013-2020 Jiang Yin. All rights reserved.
// Homepage: https://gameframework.cn/
// Feedback: mailto:ellan@gameframework.cn
//------------------------------------------------------------
using System;
namespace GameFramew... |
using KendoGridBinderEx.Examples.Business.Entities;
namespace KendoGridBinderEx.Examples.MVC.Models
{
public class FunctionVM : IEntity
{
public long Id { get; set; }
public string Code { get; set; }
public string Name { get; set; }
}
} |
namespace _2.LinearDataStructures
{
using System;
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// Write a program that reads from the console a sequence of positive integer numbers. The sequence ends when empty line is entered. Calculate and print the sum and average of the ... |
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProyectoFinalBackend.Entity
{
public class TipoEmpaque
{
public int CodigoEmpaque { get; set; }
public String Descripcion { get; set; }
public virtual ICollecti... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Windows.Forms;
using System.IO;
using System.Text;
namespace SerialPortTools
{
public partial class frmExport : Form
{
public frmExport()
{
try
{
InitializeComponent();
... |
using System;
using System.Collections.Generic;
using System.IO;
using Common.Logging;
using System.Drawing;
using SharpMap.Layers;
using System.Globalization;
using SharpMap.Styles;
using GeoAPI.Geometries;
namespace SharpMap.Serialization
{
/// <summary>
/// Creates a SharpMap MapObject from a MapServer MAP ... |
using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace PC2.Repository.Migrations
{
public partial class init : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
... |
/*
* Copyright © 2010, Denys Vuika
* Copyright © 2014, Kastellanos Nikolaos
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* ... |
using System;
using System.Threading;
namespace DelegateAndEventsDemo.RealisticExample
{
public class VideoEventArgs : EventArgs
{
public Video Video { get; set; } = null!;
}
public class VideoEncoder
{
//1 - define a delegate (you can skip this step if are using Action or Func (o... |
namespace OJS.Workers.ExecutionStrategies.Models
{
using System.Collections.Generic;
using OJS.Workers.Common;
public class ExecutionResult<TResult> : IExecutionResult<TResult>
where TResult : ISingleCodeRunResult, new()
{
public bool IsCompiledSuccessfully { get; set; }
publ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Navigation;
using System.Windows.S... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.