text stringlengths 1 932k |
|---|
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace RepositoryDemo.Repositories
{
public class UnitOfWork<TDbContext> : IUnitOfWork<TDbContext>, IDisposable where TDbContext : DbContext
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TGC.Core.Input;
using TGC.Core.Mathematica;
using TGC.Group.Model.GameObjects;
using TGC.Group.Model.GameObjects.BulletObjects;
using TGC.Group.Model.GameObjects.BulletObjects.Zombies;
namespace T... |
using System;
namespace Store.Domain.Entities
{
public class Discount: Entity
{
public Discount(decimal amount, DateTime expireDate)
{
Amount = amount;
ExpireDate = expireDate;
}
public decimal Amount { get; private set; }
public DateTime ExpireD... |
using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using MS.Core;
namespace System.Security.AccessControl
{
public static class __MutexRights
{
}
} |
// 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.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;... |
using System;
using System.Diagnostics;
using System.IO;
using Microsoft.Extensions.Configuration;
namespace insturmenting
{
class Program
{
static void Main(string[] args)
{
Debug.WriteLine("Debug says \"I am Watching!\"");
Trace.WriteLine("Trace says \"I am Watching!\... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ResourceDataMap : ScriptableObject {
[System.Serializable]
public class ResourceEntry
{
public ResourceData ResourceData;
public int Amount;
}
public List<ResourceEntry> Resources;
} |
using System;
using System.Collections.Generic;
using System.Collections;
namespace GenericList
{
/// <summary>
/// Class implementing generic linked list data structure.
/// </summary>
/// <typeparam name="T">Type of the list elements.</typeparam>
public class List<T> : IList<T>
{
pr... |
using System;
using Lubala.Messages;
namespace Lubala.Processors
{
public class TextMessageProcessor : IMessageProcessor
{
internal TextMessageProcessor(ProcessorContext processorContext)
{
}
public MessageBase Process()
{
throw new NotImplemen... |
using System;
using System.IO;
namespace Org.BouncyCastle.Tls.Tests
{
internal class TlsTestClientProtocol
: TlsClientProtocol
{
protected readonly TlsTestConfig m_config;
internal TlsTestClientProtocol(Stream stream, TlsTestConfig config)
: this(stream, stream, config)
... |
using System;
using System.Globalization;
using System.Windows.Data;
namespace tweetz.core.Converters
{
public class IsNotNullConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
return value is not null;
... |
using Serilog;
using Serilog.Core;
using Serilog.Events;
using Serilog.Formatting;
using Serilog.Formatting.Display;
using System;
using System.Collections.Concurrent;
using System.Globalization;
using System.IO;
namespace PhysisWeather.Core.Base
{
public class AppLogger
{
public ILogger Logger { get;... |
namespace Xpand.Docs.Module.Win {
partial class DocsWindowsFormsModule {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summ... |
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
// <auto-generated />
using SixLabors.ImageSharp.PixelFormats.Utils;
using System;
using System.Buffers;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Six... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using CleanArchitecture.Blazor.Application.Features.Tenants.DTOs;
using CleanArchitecture.Blazor.Application.Features.Tenants.Caching;
namespace CleanArchitecture.Blazor.Application... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NCharacters : MonoBehaviour
{
public int n;
int frame;
GameObject[] characters;
// Start is called before the first frame update
void Start()
{
frame = 0;
characters = null;
}
//... |
using J2N.Numerics;
using YAF.Lucene.Net.Diagnostics;
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using IBits = YAF.Lucene.Net.Util.IBits;
namespace YAF.Lucene.Net.Codecs.Lucene3x
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor l... |
using BasicGameFrameworkLibrary.MiscProcesses;
namespace BasicGameFrameworkLibrary.BasicEventModels;
public class AnimatePieceEventModel<T> where T : class
{
public Vector PreviousSpace { get; set; }
public Vector MoveToSpace { get; set; }
public T? TemporaryObject { get; set; }
public bool UseColumn {... |
using System;
using Newtonsoft.Json;
using System.Xml.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// AlipaySecurityRiskPolicyRdsQueryModel Data Structure.
/// </summary>
[Serializable]
public class AlipaySecurityRiskPolicyRdsQueryModel : AlipayObject
{
... |
// <auto-generated />
namespace SmartStore.Data.Migrations
{
using System.CodeDom.Compiler;
using System.Data.Entity.Migrations;
using System.Data.Entity.Migrations.Infrastructure;
using System.Resources;
[GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")]
public sealed partial cla... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.EntityFrameworkCore.ChangeTracking.Internal;
using Microsoft.EntityFrameworkCore.Infrastructure;
namespace Microsoft.EntityFrameworkCore.ChangeTracking
{
/// <su... |
// Copyright (c) Microsoft. 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.Collections.Immutable;
using System.Globalization;
using System.Linq;
using Microsoft.Build.BackEnd;
using... |
using System.Collections.Generic;
using DDDSouthWest.Domain.Features.Public.ProposedTalks;
namespace DDDSouthWest.Website.Features.Public.ProposedTalks
{
public class ProposedTalksViewModel
{
public ProposedTalksViewModel()
{
ProposedTalks = new List<ProposedTalkViewModel>();
... |
using UnityEngine;
using UnityEngine.SceneManagement;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using System;
namespace XLAF.Public
{
/// <summary>
/// scene管理,和MgrDialog代码差不多
/// </summary>
public class MgrScene : MonoBehaviour
{
public static bool ... |
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
/* Copyright 2010-present MongoDB 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 wr... |
/*
* 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 Autodesk.DesignScript.Geometry;
using Autodesk.DesignScript.Runtime;
using Text;
using Topology;
namespace Topology.Panelization
{
public class Panel : IDisposable
{
internal bool disposed = false;
internal double[] Thick... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// ------------------------------------------------------------
using System.Linq;
using System... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using Pizza.Contracts.Operations.Requests.Configuration;
using Pizza.Mvc.GridConfig.Columns;
namespace Pizza.Mvc.GridConfig
{
public enum ColumnWidthMode { Fixed, Auto }
public abstract class GridMetamodel
{
... |
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using UnitsNet;
using UnitsNet.Units;
namespace XPlaneGenConsole
{
[CsvRecord(EngineDatapoint.FIELDS_COUNT)]
[Serializable()]
public sealed class EngineData... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace WebShop.Models
{
public class OrderItem
{
[Key]
public int OrderItemID { get; set; }
[Required]
public int OrderID { get; set; }
... |
using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: Asse... |
using System.Collections.Generic;
using GenHTTP.Api.Content;
using GenHTTP.Api.Content.Websites;
using GenHTTP.Api.Protocol;
namespace GenHTTP.Modules.Websites.Menues
{
public sealed class StaticMenuProvider : IMenuProvider
{
#region Get-/Setters
private List<ContentElement> Menu { get; }
... |
#region License
// Copyright (c) 2009, ClearCanvas 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 copyright notice,
//... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2020 iText Group NV
Authors: iText Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
AGPL licensing:
This program is free... |
// Contributors:
// James Domingo, Green Code LLC
// Robert M. Scheller
using Landis.SpatialModeling;
using System;
using Landis.Library.HarvestManagement;
namespace Landis.Extension.BiomassHarvest
{
/// <summary>
/// Utility class for writing biomass-removed maps.
/// </summary>
public class Bio... |
using System;
using System.IO;
using System.Net;
using System.Threading.Tasks;
using System.Web;
using System.Web.Hosting;
using System.Web.Mvc;
using Frapid.Areas;
using Frapid.Areas.Authorization;
using Frapid.Areas.CSRF;
using Frapid.WebsiteBuilder.Models.Themes;
using Newtonsoft.Json;
using Newtonsoft.Json.Seriali... |
namespace Sushi.Mediakiwi.Data
{
/// <summary>
///
/// </summary>
public enum ComponentListType
{
/// <summary>
/// Undefined type
/// </summary>
Undefined = 0,
/// <summary>
/// User management list
/// </summary>
Users = 1,
... |
using System;
using System.Threading;
using System.Threading.Tasks;
using Shouldly.Tests.Strings;
using Shouldly.Tests.TestHelpers;
using Xunit;
namespace Shouldly.Tests.ShouldNotThrow
{
public class FuncOfTaskOfStringScenario
{
[Fact]
[UseCulture("en-US")]
public void FuncOfTaskOfStr... |
using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x1008_df3e-6311cf1")]
public void Method_1008_df3e()
{
ii(0x1008_df3e, 5); push(0x34); /* push 0x... |
// Copyright 2021-present Etherna Sagl
//
// 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;
namespace Switch
{
class MainApp
{
static void Main(string[] args)
{
Console.Write("요일을 입력하세요.(일,월,화,수,목,금,토) : ");
string day = Console.ReadLine();
switch (day)
{
case "일":
Console.WriteLine("Su... |
// <copyright file="IEmailService.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>
namespace DirectSend
{
using System.Threading.Tasks;
using DirectSend.Models.Mail;
/// <summary>
/// IEmailService.
/// </summary>
public interface IEm... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TheBankMachine.Domain.SeedWork
{
public interface IRepository<T> where T : IAggregateRoot
{
IUnitOfWork UnitOfWork { get; }
}
} |
// 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.Iot.TimeSeriesInsights.Models
{
public partial class TimeSeriesIdProperty
{
internal static TimeSeriesIdPro... |
using Microsoft.AspNetCore.Identity;
namespace RedPoint.Account.Services
{
public interface ITokenGenerator
{
public string GenerateToken(string username, IdentityUser user);
}
} |
using AuthorizationForOcelot.Abstractions;
using AuthorizationForOcelot.Configuration;
using AuthorizationForOcelot.Extensions;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Abstractions;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.Options;
using Sys... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Murtain.OAuth2.Application
{
public interface ILoginApplicationService<T>
{
Task<bool> ValidateCredentialsAsync(T user, string password);
Task<T> FindByUsernameAsync(string user);
... |
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using iQuest.HotelQueries.Domain;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace iQuest.HotelQueries.Tests
{
[TestClass]
public class Query02_FindCustomerByNameTests
{
private static Hotel hotel;
... |
using OpenMMO;
using OpenMMO.DebugManager;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Reflection;
using System;
namespace OpenMMO
{
// ===================================================================================
// PreloaderComponent
// ===================... |
namespace AltinnCore.ServiceLibrary.Enums
{
/// <summary>
/// Enumeration for the different step types
/// </summary>
public enum StepType
{
/// <summary>
/// Enumeration value for the instantiation step type
/// </summary>
Instantiation = 0,
/// <summary>
... |
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
namespace Microsoft.VisualStudio.Text.Operations
{
/// <summary>
/// A service that creates <see cref="ITextSearchNavigator"/> objects.
/// </... |
using System;
using System.Linq;
using System.Text;
using System.Collections.Generic;
namespace PeefyLeetCode.Subsets
{
public class Solution {
void subs(int[] nums, int index, IList<IList<int>> res, List<int> tmp, int n){
res.Add(tmp);
for (int i = index; i < n; i++) {
var newtmp = n... |
using commonItems;
using System.Collections.Generic;
namespace ImperatorToCK3.Mappers.CoA;
public class CoaMapper {
public CoaMapper() { }
public CoaMapper(Configuration config, IEnumerable<Mod> mods) {
Logger.Info("Parsing CoAs...");
var parser = new Parser();
RegisterKeys(parser);
const string coasPath =... |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Azure.Devices.ProtocolGateway.Mqtt
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using DotNetty.B... |
// ZipFile.cs
//
// Copyright (C) 2001 Mike Krueger
// Copyright (C) 2004 John Reilly
//
// This file was translated from java, it was part of the GNU Classpath
// Copyright (C) 2001 Free Software Foundation, Inc.
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GN... |
namespace RouteExtreme.Web.Tests.Routes
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Web.Routing;
using MvcRouteTester;
using RouteExtreme.Web.Controllers;
[TestClass]
public class HomeControllerRoutes
{
[TestMethod]
public void TestH... |
using System;
using System.Data.SqlClient;
namespace FlexibleSqlConnectionResolver.ConnectionResolution
{
public class SingletonSqlConnectionResolver : ISqlConnectionResolver
{
private readonly string _connectionString;
private readonly Lazy<SqlConnection> _connection;
public Singleto... |
//
// MessageImportance.cs
//
// Author: Kees van Spelde <sicos2002@hotmail.com>
//
// Copyright (c) 2015-2018 Magic-Sessions. (www.magic-sessions.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
// i... |
// Copyright (c) zhenlei520 All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.IO;
using System.Net;
using System.Runtime.Serialization.Json;
using EInfrastructure.Core.Configuration.Enumerations;
using EInfrastructure.Core.To... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using ProductShop.Data;
using ProductShop.Dtos.Export;
using ProductShop.Models;
namespace ProductShop
{
public class StartUp
{
public static void Main()
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Orleans;
using Orleans.CodeGeneration;
using UnitTests.GrainInterfaces;
using UnitTests.Grains;
using Xunit;
using Xunit.Abstractions;
namespace NonSilo.Tests.General
{
[TestCategory("BVT")]
public class GrainInt... |
using ProtoBuf;
using System;
namespace Package
{
[ProtoContract(Name = "BattleAction_AddFilter")]
[Serializable]
public class BattleAction_AddFilter : IExtensible
{
private long _soldierId;
private int _filterType;
private IExtension extensionObject;
[ProtoMember(1, IsRequired = true, Name = "soldierId... |
using System;
using System.ComponentModel;
using System.Drawing.Design;
using System.Windows.Forms;
namespace essentialMix.Windows.UITypeEditors;
public class OpenFileNameUITypeEditor : UITypeEditor
{
public OpenFileNameUITypeEditor()
{
}
public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext ... |
/*
* 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.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LevelEnder : MonoBehaviour
{
// Just used to end the level
// Put this on an object that gets scrolled alongside the notes, after them and once
// it hits the buttons, the level ends
private void OnTriggerEnte... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public delegate void KillConfirmed(Enemy enemy);
public class GameManager : MonoBehaviour
{
public List<GameObject> WorldObjects = new List<GameObject>();
public event KillConfirmed killConfirmedEven... |
using System.Collections.Generic;
using OpenTK.Graphics.OpenGL;
using ThreeJs4Net.Cameras;
using ThreeJs4Net.Core;
using ThreeJs4Net.Scenes;
namespace ThreeJs4Net.Renderers.WebGL.PlugIns
{
class SpritePlugin
{
private WebGLRenderer _renderer;
private IList<Object3D> _sprites;
/// <su... |
namespace Tomoe.Commands
{
using DSharpPlus;
using DSharpPlus.Entities;
using DSharpPlus.SlashCommands;
using System.Linq;
using System.Threading.Tasks;
using Tomoe.Commands.Attributes;
using Tomoe.Db;
public partial class Moderation : SlashCommandModule
{
public partial cla... |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.UI.Xaml.Media
{
#if false || false || false || false || false || false || false
public enum SweepDirection
{
// Skipping already declared field Windows.UI.Xaml.Media.SweepDirection.Counterclockw... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Randominer.Twitch
{
interface ITwitchApi
{
Task<StreamDTO> GetRandomStream();
}
} |
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using OrchardCore.Autoroute.Models;
using OrchardCore.ContentManagement;
using OrchardCore.ContentManagement.Records;
using OrchardCore.Environment.Shell;
using OrchardCore.Tests.Apis.Context;
using Xunit;
using YesSql;
na... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Provider;
using Android.Runtime;
using Android.Support.V7.Widget;
using Android.Util;
using Android.Views;
using Android.Widget;
using Java.IO;
using Java.Lan... |
using System;
namespace FPFL.API.Web.Models.Default
{
public class WeatherForecast
{
public DateTime Date { get; set; }
public int TemperatureC { get; set; }
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
public string Summary { get; set; }
}
} |
using Foundation;
using Moduware.Platform.Tile.iOS;
using Serilog;
using UIKit;
namespace Moduware.Tile.Speaker.iOS
{
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the application, as well as listening (and optionally responding) to applicat... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过下列特性集
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("WorkData.NancyHost")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly:... |
// This software is open source software available under the BSD-3 license.
//
// Copyright (c) 2018, Triad National Security, LLC
// All rights reserved.
//
// Copyright 2018. Triad National Security, LLC. This software was produced under U.S. Government contract 89233218CNA000001 for Los Alamos National Laboratory ... |
/*
* 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... |
// *** 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.ComponentModel;
using Pulumi;
namespace Pulumi.AzureNative.PowerBIDedicated.Latest
{
/// <summary>
/// The name of the Azure pri... |
//------------------------------------------------------------------------------
// <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.... |
@{
ViewBag.Title = "Terms and Condition";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Terms and Condition</h2> |
using EntityFrameworkExtras.EF5.Tests.Integration.StoredProcedures;
using NUnit.Framework;
namespace EntityFrameworkExtras.EF5.Tests.Integration
{
[TestFixture]
public partial class ParameterDirectionTests
{
[Test]
public void Execute_DirectionOutput_NoValueSet()
{
... |
using System;
using System.IO;
using System.Linq;
using System.Text;
using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine;
using UnityEngine.UI;
using Object = UnityEngine.Object;
namespace MPUIKIT.Editor {
public static class MPEditorUtility {
[MenuItem("GameObject/UI/MPImage")]
... |
using System;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
using App.Views;
namespace App
{
/// <summary>
/// Provides application-specific behavior to supplement the default Application clas... |
namespace AngleSharp.Xml.Dtd.Declaration
{
using AngleSharp.Dom;
using System;
sealed class AttributeRequiredValue : AttributeValueDeclaration
{
public override Boolean Apply(Element element)
{
return element.HasAttribute(Parent.Name);
}
}
} |
using Cirrious.MvvmCross.ViewModels;
using Sample.Plugin.Vibration;
using System.Windows.Input;
namespace GoodVibrations.Core.ViewModels
{
public class FirstViewModel
: MvxViewModel
{
private readonly IVibrate _vibrate;
public FirstViewModel(IVibrate vibrate)
{
_vib... |
// -----------------------------------------------------------------------
// <copyright file="PngConstants.cs" company="CodeRanger.com">
// CodeRanger.com. All rights reserved
// </copyright>
// <author>Dan Petitt</author>
// <comment></comment>
// -----------------------------------------------------------------... |
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
/**
* $File: JCS_KeyCombination.cs $
* $Date: 2018-08-28 19:32:10 $
* $Revision: $
* $Creator: Jen-Chieh Shen $
* $Notice: See LICENSE.txt for modification and distribution information
* Copyright © 2018 by Shen, Jen-Chieh $
*/
using System.Collections;
using System.Collections.Generic;
using U... |
using Godot;
using SpaceDodgeRL.scenes.components;
using SpaceDodgeRL.scenes.encounter.state;
using SpaceDodgeRL.scenes.singletons;
using System;
using System.Collections.Generic;
namespace SpaceDodgeRL.scenes.encounter {
// TODO: Make all this nice and pretty what with colors and stuff
public class CharacterMenu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Win.Renta_de_vehiculos
{
static class Utlis
{
public static string nombreusuario;
}
} |
using System;
using Skybrud.Social.LinkedIn.Interfaces;
using Skybrud.Social.OAuth;
namespace Skybrud.Social.LinkedIn.OAuth1a {
public class LinkedInOAuthClient : OAuthClient, ILinkedInOAuthClient {
#region Constructors
public LinkedInOAuthClient() : this(null, null, null, null, null) {
... |
using System;
using System.Collections.Generic;
namespace Website_internal2.Models
{
public partial class Currency
{
public Currency()
{
Donation = new HashSet<Donation>();
Payment = new HashSet<Payment>();
}
public int Id { get; set; }
public s... |
using System;
using System.Collections.Generic;
using System.Text;
namespace LoggerExercise.Common
{
public static class GlobalConstants
{
public const string DateTimeFormat = "M/dd/yyyy h:mm:ss tt";
public const string InvalidLevelType = "Invalid threshold level provided!";
public c... |
using System;
using System.Data.Common;
using System.Linq;
using System.Reflection;
using FreeSql.DataAnnotations;
using FreeSql.Internal;
namespace FreeSql
{
public class FreeSqlBuilder
{
DataType _dataType;
string _masterConnectionString;
string[] _slaveConnectionString;
bool... |
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Firewall;
using Xunit;
public class CloudflareHelperTests
{
[Fact]
public async Task GetIPAddressRangesAsync_ReturnsOnlyGuestList()
{
var helper = new CloudflareHelper(new HttpClient());
var (vi... |
using Catalog.API.Entities;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
namespace Catalog.API.Data
{
internal class CatalogContextSeed
{
internal static void SeedData(IMongoCollection<Product> products)
{
bool productsExist = products.Find(p => true).Any()... |
namespace Core.Entities.Concrete
{
public class OperationClaim
{
public int Id { get; set; }
public string Name { get; set; }
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.