text stringlengths 1 932k |
|---|
using Gov.Lclb.Cllb.Public.Models;
using Newtonsoft.Json;
using System;
using System.Net;
using System.Net.Http;
using System.Text;
using Xunit;
namespace Gov.Lclb.Cllb.Public.Test
{
public class InvoiceTests : ApiIntegrationTestBaseWithLogin
{
public InvoiceTests(CustomWebApplicationFactory<Startup> ... |
using System;
using System.Reflection.Emit;
/// <summary>
/// System.Reflection.Emit.OpCode.ToString()[v-jiajul]
/// </summary>
public class OpCodeToString
{
#region Public Methods
public bool RunTests()
{
bool retVal = true;
TestLibrary.TestFramework.LogInformation("[Positive]");
... |
using System;
using System.Collections.Generic;
namespace PassSharp.Fields
{
public class NFC
{
public List<Beacon> beacons { get; set; }
public List<Location> locations { get; set; }
public int maxDistance { get; set; }
public DateTime? relevantDate { get; set; }
}
} |
using System.Windows.Controls;
namespace OpenBullet
{
/// <summary>
/// Logica di interazione per ConfigOtherOptionsGeneral.xaml
/// </summary>
public partial class ConfigOtherOptionsGeneral : Page
{
public ConfigOtherOptionsGeneral()
{
InitializeComponent();
... |
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("_09... |
using Smartflow.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Smartflow.Bussiness.WorkflowService
{
public class EmptyAction : IWorkflowAction
{
public void ActionExecute(ExecutingContext executingContext)
{
// throw new NotImp... |
// ---------------------------------------------------------------------------------------------------------------------
// Solution: SolutionName
// File: Create.cshtml.cs
#if (!CompanyIsEmpty)
// Copyright: Copyright © CURRENT-YEAR COMPANY-NAME. All rights reserved.
#endif
#if (!LicenseIdentifierIsEmpty)
// Lic... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using OfficeOpenXml;
using OfficeOpenXml.Style;
using RuneOptim;
using RuneOptim.BuildProcessing;
using RuneOptim.Management;
using RuneOptim.swar;
namespace RuneApp... |
using fi.retorch.com.Areas.Configuration.Code.Base;
using fi.retorch.com.Areas.Configuration.Models;
using fi.retorch.com.Models;
using Microsoft.AspNet.Identity;
using System.Web.Mvc;
using System.Linq;
using fi.retorch.com.Code.Data.Roles;
namespace fi.retorch.com.Areas.Configuration.Controllers
{
public class ... |
/*
* Copyright (C) 2016 Benjamin Krämer
*
* 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, pu... |
//
// CmsSignerTests.cs
//
// Author: Jeffrey Stedfast <jestedfa@microsoft.com>
//
// Copyright (c) 2013-2018 Xamarin Inc. (www.xamarin.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 Soft... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
namespace $rootnamespace$.$modelname$
{
/// <summary>
/// $modelname$Repository
/// </summary>
public class $modelname$Repository : I$modelname$Repository
{
... |
//------------------------------------------------------------------------------
// <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.Linq.Expressions;
namespace PhlatQL.Core.Resolvers
{
public class ExpressionFieldResolver<TSourceType, TProperty> : IFieldResolver
{
private readonly Func<TSourceType, TProperty> property;
public ExpressionFieldResolver(Expression<Func<TSourceType, TProperty>> prope... |
using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Diagnostics.Contracts;
using System.Globalization;
using System.Threading.Tasks;
namespace Rtsp
{
/// <summary>
/// TCP Connection for Rtsp
/// </summary>
public class RtspTcpTransport : IRtspTransport, IDisposable... |
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Shapes;
using Mono.Moonlight.UnitTesting;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MoonTest.System.Windows
{
[TestClass]
public partial class SetterBaseCollectionTest
{
[TestMethod]
public void Sealed ()... |
namespace Payabbhi {
public class CurrentOS {
public string Name { get; private set; }
public CurrentOS (char pathDirectorySeparatorChar, string osVersionString, bool is64bit, OSHelper osHelper) {
bool IsWindows = pathDirectorySeparatorChar == '\\';
if (IsWindows) {
... |
using UnityEngine;
using UnityEngine.Experimental.Input;
public class Input : MonoBehaviour
{
#region Rigidbody
[SerializeField]
private Rigidbody2D _rb;
#endregion
#region Tiros e propulsor
[SerializeField]
private GameObject _bullet, _bTransform;
[SerializeField]
private GameObjec... |
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AlibabaCloud.SDK.Dingtalkalitrip_1_0.Models
{
public class BillSettementBtripTrainRequest : TeaModel {
[NameInMap("category")]
[Validation(Required=false)]
... |
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using DogAgilityCompetition.Circe;
namespace DogAgilityCompetition.MediatorEmulator.Engine
{
/// <summary>
/// A case-insensitive list of most-recently-used texts.
/// </summary>
public sealed class MostRecentlyUsedContai... |
/* Copyright (c) 2010 Michael Lidgren
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,
distribute... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
#nullable disable
namespace Pinglingle.Server.Migrations
{
public partial class AddDigests : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
... |
// 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.Collections.Generic;
using System.ComponentModel.Composition;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Editor.Sh... |
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("Co... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Linq;
using System.Reflection;
using System.Composition.Hosting.Core;
using System.Collections.Generic;... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using BoDi;
using Io.Cucumber.Messages;
using TechTalk.SpecFlow.Analytics;
using TechTalk.SpecFlow.Bindings;
using TechTalk.SpecFlow.Bindings.Reflection;
using TechTalk.SpecFlow.CommonModels;
using ... |
// This code was generated by a kontent-generators-net tool
// (see https://github.com/Kentico/kontent-generators-net).
//
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
// For further modifications of the class, create a separate file with the partial class.
using... |
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("Out... |
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("En... |
/*===================================================================================
*
* Copyright (c) Userware/OpenSilver.net
*
* This file is part of the OpenSilver Runtime (https://opensilver.net), which is
* licensed under the MIT license: https://opensource.org/licenses/MIT
*
* As stated in t... |
// Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.ComponentModel;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.... |
/*
* 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... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using ProtoBuf;
using System.IO;
using ProtoBuf.Meta;
namespace Examples.Issues
{
[TestFixture]
public class SO11656439
{
[Test]
public void BasicStringListShouldRoundTrip()
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using TMPro;
public class SetCurrentTime : MonoBehaviour
{
// HourFormat is to set the time format to 12 hour or 24 hour format
public enum HourFormatEnum { Format12, Format24};
public HourFormatEnum hourFormat = Hour... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Runtime.ConstrainedExecution;
using Microsoft.Maui.Controls.Core.UnitTests;
using Microsoft.Maui.Dispatching;
using Microsoft.Maui.UnitTests;
using NUnit.Framework;
namespace Microsoft.Maui.Controls.Xaml.UnitTes... |
using StructuralDesignPatterns.Flyweight.Model.Textures.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StructuralDesignPatterns.Flyweight.Model.Textures
{
class PointyTexture : Texture
{
}
} |
// Copyright (c) 2020 .NET Foundation and Contributors. All rights reserved.
// 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 full license information.
using System;
using System.Lin... |
// *** WARNING: this file was generated by pulumigen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Kubernetes.Apps.V1
... |
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.XR.ARFoundation;
using UnityEngine.XR.ARSubsystems;
/// <summary>
/// This example demonstrates disabling vertical planes as they are
/// detected and instantiated by the <c>ARPlaneManager</c>.
/// </summary>
[RequireComponent(typeof(ARPlaneManager))]
public ... |
using Microsoft.Extensions.Logging;
using Person.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Person.Infrastructure.Persistence
{
public class PersonSeedData
{
public static async Task SeedAsync(PersonContext personContext,... |
namespace Disqus.NET
{
public class DisqusErrorResponse: IDisqusResponse<string>
{
public DisqusApiResponseCode Code { get; set; }
public string Response { get; set; }
}
} |
namespace Highway.Data
{
/// <summary>
/// An Interface for Scalar Queries that return a single value or object
/// </summary>
/// <typeparam name="T">The Type that is being returned</typeparam>
public interface IScalar<out T>
{
/// <summary>
/// Executes the expression against the passed in context
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using System.Threading;
namespace ShiShiCai02
{
public partial class ShiShiCai02 : ServiceBase
{
bool IFlagStaist... |
/*
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/
_/ --- C# 移植版 ( Update: 2018/12/8 ) ---
_/
_/ CopyRight(C) K.Tsunoda(AddinBox) 2001 All Rights Reserved.
_/ ( AddinBox http://addinbox.sakura.ne.jp/index.htm )
_/ ( 旧サイト http://www.h3.dion.ne.jp/~sakatsu/index.htm )
_/
_/ この祝日マクロは『kt関数アドイ... |
using System;
using HotChocolate.Execution.Configuration;
using HotChocolate.Execution;
using HotChocolate.Execution.Pipeline;
using System.Collections.Generic;
namespace Microsoft.Extensions.DependencyInjection
{
public static partial class RequestExecutorBuilderExtensions
{
/// <summary>
/// ... |
// Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
namespace UE4.Engine{
... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
/// <summary>
/// 作者:刘泽华
/// 时间:2018年5月29日11点22分
/// </summary>
namespace KilyCore.DataEntity.ResponseMapper.System
{
/// <summary>
/// 一级域树
/// </summary>
public class ResponseTree
{
... |
using CodeHub.Helpers;
using System;
using UICompositionAnimations;
using UICompositionAnimations.Enums;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Input;
namespace CodeHub.Controls
{
public sealed partial class TopScrollerControl : UserControl, IDisposable
{
/// <summary>
/... |
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\vidcap.h(1787,5)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[Guid("11737c14-24a7-4bb5-81a0-0d003813b0c4"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public partial interface IKsNodeControl
{
[... |
using RabbitMQ.Client;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace MssqlRabbitTool
{
public class MessageManager
{
private static HttpClient Client;
private static RabbitConnection RabbitConn;
public... |
using System;
using AutoMapper;
using ReMi.BusinessEntities.Api;
using ReMi.DataAccess.Exceptions;
using ReMi.DataEntities.Auth;
using System.Collections.Generic;
using System.Linq;
using ReMi.Common.Utils.Repository;
using ReMi.Contracts.Plugins.Data;
using ReMi.DataEntities.Plugins;
using DataQuery = ReMi.DataEntitie... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Test
{
class Foo
{
public class Bar
{
public void NestedPrint()
{
Console.WriteLine("Coded with Swag");
}
}
... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
using NUnit.Framework;
using Repository;
using System;
namespace RepositoryUnitTests
{
[TestFixture]
public class TypePropertyLoaderTests
{
private class TestClass<T>
{
public T PropertyA { get; set; }
}
[TestCase("System.String", "Testing")]
[TestC... |
using System;
using System.Collections.Generic;
using System.Text;
namespace VehicleTracking.Model
{
public abstract class BaseModel : IBaseModel
{
public Guid Id { get; set; }
public DateTime CreatedDate { get; set; }
public DateTime UpdatedDate { get; set; }
public virtual vo... |
using System.Reflection;
using Xunit.Abstractions;
using Xunit.Sdk;
namespace Telegram.Bot.Tests.Integ.XunitExtensions
{
public class XunitTestFrameworkWithAssemblyFixture : XunitTestFramework
{
public XunitTestFrameworkWithAssemblyFixture(IMessageSink messageSink)
: base(messageSink)
... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
namespace PNGMask
{
public abstract class Graphical : SteganographyProvider
{
public Graphical() { }
public Graphical(St... |
using Microsoft.SharePoint;
using Microsoft.SharePoint.Administration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FeatureAdmin.SharePoint2013.Factories
{
public class FeatureDefinition : Interfaces.IFeatureDefinition
{
/// <summary>
/// a li... |
using System;
using System.Text;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.IdentityModel.Tokens;
using Abp.AspNetCore;
using Abp.AspNetCore.Configuration;
using Abp.AspNetCore.SignalR;
using Abp.Modules;
using Abp.Reflection.Extensions;
using Abp.Zero.Configuration;
... |
using System;
using NetOffice;
namespace NetOffice.PowerPointApi.Enums
{
/// <summary>
/// SupportByVersion PowerPoint 9, 10, 11, 12, 14, 15, 16
/// </summary>
///<remarks> MSDN Online Documentation: http://msdn.microsoft.com/en-us/en-us/library/office/ff744153.aspx </remarks>
[SupportByVersionAttribute("Powe... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - CommuNeedy</title>
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="~/css/sit... |
using System;
using System.Collections;
using System.Collections.Generic;
using Unity.Collections.LowLevel.Unsafe;
using UnityEngine;
namespace Calandiel.Collections
{
public struct UnmanagedDictionaryThreadSafe<TKey, TValue> :
IDisposable
where TValue : unmanaged
where TKey : unmanaged, IEquatable<TKey>
{
p... |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osuTK.Input;
using SDL2;
namespace osu.Framework.Platform.Sdl
{
public static class Sdl2Extensions
{
public static Key ToKey(this SDL.SDL_Keysym sd... |
#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 ... |
#region Copyright notice
/**
* Copyright (c) 2018 Samsung Electronics, Inc.,
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above co... |
using Discount.API.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Discount.API.Repositories.Interfaces
{
public interface IDiscountRepository
{
public Task<Coupon> GetDiscount(string productName);
public Task<bool> CreateDis... |
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("Cl... |
using System.Windows;
namespace ConfuserEx {
public partial class App : Application {
}
} |
using UAlbion.Core;
using UAlbion.Game.Settings;
namespace UAlbion.Game
{
public interface ISettings
{
string BasePath { get; }
IDebugSettings Debug { get; }
IAudioSettings Audio { get; }
IGraphicsSettings Graphics { get; }
IGameplaySettings Gameplay { get; }
IE... |
namespace IoC.Tests.UsageScenarios
{
using System.Diagnostics.CodeAnalysis;
using Shouldly;
using Xunit;
[SuppressMessage("ReSharper", "UnusedVariable")]
public class Bindings
{
[Fact]
public void Run()
{
// $visible=true
// $tag=1 Basics
... |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
using Uintra.Core.Activity.Sql;
namespace Uintra.Core.Activity
{
public interface IIntranetActivityRepository
{
Task<IntranetActivityEntity> GetAsync(Guid id);
Task<IEnumerable<Intranet... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
using System;
namespace Application.Users.Views.Request
{
public class UpdateUser
{
public string StatusName { get; set; }
public string RoleName { get; set; }
public string LanguageCode { get; set; }
public string Email { get; set; }
public string FirstName { get; ... |
#pragma warning disable 169, 465
using System;
using UltimateOrb;
using static Supercell.Globals;
namespace Supercell.IpcServices.Nn.Gpio {
[IpcService("gpio")]
public unsafe partial class IManager : _Base_IManager {}
public unsafe class _Base_IManager : IpcInterface {
public override void _Dispatch(IncomingMessag... |
namespace NPOI.SS.UserModel
{
/// Represents a defined name for a range of cells.
/// A name is a meaningful shorthand that makes it easier to understand the purpose of a
/// cell reference, constant or a formula.
public interface IName
{
/// Get the sheets name which this named range is referenced to
///
//... |
using System;
using System.Collections.Generic;
using Hl7.Fhir.Introspection;
using Hl7.Fhir.Validation;
using System.Linq;
using System.Runtime.Serialization;
using System.ComponentModel;
/*
Copyright (c) 2011+, HL7, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or withou... |
namespace System
{
public static class Int16Extension
{
public static Int16 Reverse(this Int16 value)
{
return (short)(((value >> 8) & 0xFF) | (value << 8));
}
}
} |
// 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.
namespace System.Composition
{
/// <summary>
/// Can be imported by parts that wish to dynamically create in... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Debug = System.Diagnostics.Debug;
namespace Internal.TypeSystem
{
partial class MethodDesc
{
/// <summary>
/// Gets the shared runtime determined form ... |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Xml;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.FileProviders;
using Microsoft.... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="PlotCommands.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// <summary>
// Defines common commands for the plots.
// </summary>
// --------... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace osu_api_wrapper.Components
{
public class Match
{
[JsonProperty("match_id")]
public int MatchId { get; set; }
[JsonProperty("name")]
public string Name { get; set; }
[J... |
using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.Primitives;
using Avalonia.Input;
using FluentAvalonia.Core;
using System;
using System.Reactive.Disposables;
using System.Windows.Input;
namespace FluentAvalonia.UI.Controls
{
public class SplitButton : ContentControl
{
public static readonly Direc... |
using UnityEngine;
using System.Collections;
using PowerUI;
using PowerSlide; // <-- Don't forget me!
public class CuedPowerSlide : MonoBehaviour {
void Start(){
// Get a reference to the main UI document so everything else looks wonderfully familiar:
var document=UI.document;
// Get the tips element:
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipeline;
using Azure.Management.Network.Models;
namespace Azure.... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace TONBRAINS.TONOPS.Core.DAL
{
public class SmartKey
{
[Key]
public string Id { get; set; }
public string Name { get; set; }
public string TypeId { get; set; }
public string Descriptio... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Meteor : FauxGravityBody {
public GameObject explosion;
public SphereCollider sphereCol;
public ParticleSystem trail;
void OnCollisionEnter(Collision col)
{
Quaternion rot = Quaternion.LookRotation(transform.position.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
using Cybele.Thinfinity;
namespace Cybele.Thinfinity.WebComponents
{
class VuiAudio
{
private string m_Xtagdir;
private JSObject m_au... |
using System;
namespace Mas.SalaryEmployee.Web.Models
{
public class ErrorViewModel
{
public string RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}
} |
/* Copyright (c) 2020 ExT (V.Sigalkin) */
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.Serialization;
using extOSC.Core;
using extOSC.Core.Events;
namespace extOSC
{
public class OSCBind : IOSCBind
{
#region Public Vars
public string ReceiverAddress => _address;
public OSCEventMessage Ca... |
using System;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
namespace CodeIt.Models
{
//Model for Comment on Guest Paste used to store in DATABASE
public class CommentOnGuest
{
public CommentOnGuest()
{
this.TimeCreated = DateTime.Now;
}
[K... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
using System;
using Code.Controller;
using Code.Data;
using Code.Interfaces.Providers;
using UnityEngine;
namespace Code.Providers
{
internal sealed class ModificatorProvider: MonoBehaviour, IModificatorProvider
{
public event Action<GameObject, ModificatorProvider, ModificatorData> OnTriggerEnterChang... |
namespace C7Engine
{
using System.IO;
using C7GameData;
enum SaveFileFormat {
Sav,
Biq,
C7,
Invalid,
}
// The engine performs all save file creating, reading, and updating
// via the SaveManager
public static class SaveManager
{
private static SaveFileFormat getFileFormat(string path)
{
var ex... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestPlatform.Common.Tel... |
using System.Collections.Generic;
using System.Linq;
using GroupMeClientApi.Models;
using GroupMeClientApi.Models.Attachments;
namespace GroupMeClientApi
{
/// <summary>
/// Provides methods to merge a new GroupMe object with an existing
/// cached database entry.
/// </summary>
internal class Dat... |
using System.IO;
namespace Discord.Net.Rest
{
struct MultipartFile
{
public Stream Stream { get; }
public string Filename { get; }
public MultipartFile(Stream stream, string filename)
{
Stream = stream;
Filename = filename;
}
}
} |
using System.Collections.Generic;
using PoESkillTree.Engine.GameModel;
namespace PoESkillTree.Utils.UrlProcessing
{
/// <summary>
/// Represents build information, stored in a url. Essentially it provides just identifiers.
/// </summary>
/// <remarks>Currently it also can contain unused jewels informat... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Cam : MonoBehaviour
{
private GameObject player;
public float Speed;//velocidade de acompanhamento da camera
//VARIÁVEIS LIMITES DA CÂMERA
public bool maxMin;
public float xMin;
public float yMin;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.