text stringlengths 1 932k |
|---|
using System;
//using System.Collections.Generic;
//using System.ComponentModel;
//using System.Data;
//using System.Drawing;
//using System.Linq;
//using System.Text;
using System.Windows.Forms;
using System.IO;
//using System.Xml;
using PrimerProObjects;
using PrimerProLocalization;
namespace PrimerProForms
{
p... |
using System;
namespace MShare_ASP.API.Response
{
/// <summary>Describes the user' data</summary>
public class UserData
{
/// <summary>Id of the user</summary>
public long Id { get; set; }
/// <summary>Max 32 length name of the user</summary>
public String Name { get; set;... |
using System;
namespace VMWareHypervisorTunnel.Areas.HelpPage.ModelDescriptions
{
/// <summary>
/// Use this attribute to change the name of the <see cref="ModelDescription"/> generated for a type.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum, ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
// Code was edited in git hub
// Code was added in VS
}
}
} |
using Ryujinx.HLE.HOS.Services.Acc;
using Ryujinx.HLE.HOS.Services.Am;
using Ryujinx.HLE.HOS.Services.Apm;
using Ryujinx.HLE.HOS.Services.Aud;
using Ryujinx.HLE.HOS.Services.Bsd;
using Ryujinx.HLE.HOS.Services.Caps;
using Ryujinx.HLE.HOS.Services.FspSrv;
using Ryujinx.HLE.HOS.Services.Hid;
using Ryujinx.HLE.HOS.Service... |
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Tencent is pleased to support the open source community by making behaviac available.
//
// Copyright (C) 2015-2017 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using CrowdSource.Models;
using CrowdSource.Models.ManageViewModels;
using C... |
using Xunit;
using static PrimeFuncPack.UnitTest.TestData;
namespace PrimeFuncPack.Tests;
partial class DependencyTest
{
[Theory]
[InlineData(null)]
[InlineData(EmptyString)]
[InlineData(SomeString)]
public void Of_01_ExpectResolvedValueIsEqualToSource(
string? sourceSingle)
{
... |
using System;
using System.Collections.Generic;
namespace Problem4
{
internal class Program
{
public static void Main(string[] args)
{
int max = 0;
for (int n = 100; n < 1000; n++)
{
for (int m = 100; m < 1000; m++)
{
... |
/*****************************************************************************
*
* ReoGrid - .NET Spreadsheet Control
*
* http://reogrid.net/
*
* Sheet Tab Control - Represents a lightweight and fast sheet tab control
*
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
* KIND, EITHER ... |
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("Ro... |
// 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.Net.Security
{
internal partial class SslConnectionInfo
{
public SslConnectionInfo... |
using System;
using CodeWars;
using NUnit.Framework;
namespace CodeWarsTests
{
[TestFixture]
public class CountMonkeysTests
{
public static object[] FixedTests =
{
new object[] { MonkeyCounter.MonkeyCount(5), new int[]{1,2,3,4,5} },
new object[] { MonkeyCounter.Monk... |
using Anvil.Framework.MVVM;
namespace Anvil.Views.ConfigurationUI
{
public partial class SettingsView : SettingsViewImpl
{
public SettingsView()
{
InitializeComponent();
}
}
public abstract class SettingsViewImpl : View<SettingsViewModel>
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace mdryden.cflapi.v1.Models.Players
{
public class GameMissedFieldGoalReturns : MissedFieldGoalReturns
{
[JsonIgnore]
public int PlayerId { get; set; }
[JsonProper... |
using System;
using System.Collections.Generic;
using System.Configuration;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
namespace MoreiraBank.Manager.Data
{
public partial class _68_praontemContext : DbContext
{
public _68_praontemContext()
{
}
... |
using System;
namespace Practice_floating_points
{
class Program
{
static void Main(string[] args)
{
decimal num1 = decimal.Parse(Console.ReadLine()); //3.141592653589793238m; // true
double num2 = double.Parse(Console.ReadLine()); //1.60217657; // true
deci... |
#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,
//... |
// *** 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 Microsoft.Management.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using SimCim.Core;
namespace SimCim.Root.V2
{
public class InstanceProviderRegistration : ObjectProviderRegistration
{
public InstanceProviderRegistration()
{
}
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using HttPlaceholder.Application.Configuration;
using HttPlaceholder.Application.Exceptions;
using HttPlaceholder.Application.Interfaces.Persistence;
using HttPlaceholder.Application.StubExecution;
using HttPlaceholder.Dom... |
#region Copyright & License
/*
Copyright (c) 2005-2011 nJupiter
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.Text;
namespace Flowzen
{
public static class UnicodeFormatTextUtility
{
public static string EncodeNonAsciiFormatCharacters(string value)
{
StringBuilder sb = new StringBuilder();
foreach (char c in value)
{
if (c > 127)
... |
using System.Collections.Generic;
using System.Linq;
using AutoMapper;
using DRS.Data.BusinessEntities;
using DRS.Data.ServiceInterfaces;
using DRS.Model.Models;
using System;
using DRS.Model;
using Newtonsoft.Json.Linq;
namespace DRS.Data.Services
{
public class ProcessQueueStateService: IGenericService<ProcessQ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Objectify;
namespace Tests.TestModel
{
class Tag : ModelBase<Tag>
{
public string Name { get; set; }
public ICollection<Blog> Blogs { get; set; }
public Tag(string... |
using System;
namespace Sceelix.Annotations
{
public class StringKeyAttribute : Attribute
{
public StringKeyAttribute(string key)
{
Key = key;
}
public string Key
{
get;
}
public int Priority
{
get;
... |
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
namespace Chino.Memory
{
public class MemoryManager
{
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern int GetUsedMemorySize();
[MethodImpl(MethodImplOptions.Inte... |
using UnityEditor;
using UnityEngine.InputSystem;
public class EditorWindowDemo : EditorWindow
{
[MenuItem("Window/Input System Editor Window Demo")]
public static void Open()
{
GetWindow<EditorWindowDemo>();
}
protected void OnGUI()
{
// Grab the current pointer device (mouse,... |
// -----------------------------------------------------------------------
// <copyright file="ActorFixture.cs" company="Asynkron AB">
// Copyright (C) 2015-2020 Asynkron AB All rights reserved
// </copyright>
// -----------------------------------------------------------------------
namespace Proto.TestFixtu... |
/*
* 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... |
@model string
@if (string.IsNullOrEmpty(Model))
{
<span>N/A</span>
}
else
{
@Model
} |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SignNow.Net.Exceptions;
using SignNow.Net.Internal.Helpers;
using SignNow.Net.Model;
using SignNow.Net.Test.Constants;
namespace UnitTests
{
[TestClass]
public class GuardTest
{
[TestMethod]
public void ShouldGuardArgum... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Xunit;
namespace MessagePack.Tests
{
public class PrimitiveResolverTest
{
[Theory]
[InlineData((bool)true)]
[InlineData((byte)10)]
[InlineData((sbyte)... |
using FastReport.Data;
using FastReport.Utils;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Text.Encodings.Web;
namespace FastReport.Web.Controllers
{
class Des... |
using System.Runtime.Serialization;
namespace EncompassRest.Services.Appraisal
{
/// <summary>
/// AppraisalLoanType
/// </summary>
public enum AppraisalLoanType
{
/// <summary>
/// All In One
/// </summary>
[EnumMember(Value = "All In One")]
AllInOne = 0,
... |
using System;
using System.Collections.Generic;
namespace Eaf.Application.Services.Dto
{
/// <summary>
/// Implements <see cref="IPagedResult{T}"/>.
/// </summary>
/// <typeparam name="T">Type of the items in the <see cref="ListResultDto{T}.Items"/> list</typeparam>
[Serializable]
public class ... |
//
// Copyright 2014 Xamarin 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 applicabl... |
namespace MXGP.Models.Races
{
using System;
using System.Collections.Generic;
using System.Linq;
using MXGP.Models.Races.Contracts;
using MXGP.Models.Riders.Contracts;
public class Race : IRace
{
private string name;
private int laps;
private readonly List<IRider> r... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MyLibrary.Core.MSTests
{
[TestClass()]
public class ComparisonExtensionsTests
{
[TestMethod()]
public void IsInParam_Test()
{
Assert.IsTrue(true);
}
[TestMethod()]
public void IsInEnumerator_Test()
{
Assert.IsTrue(true);
}
}
} |
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace WindowsGlitchHarvester
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Applicat... |
namespace moddingSuite.ZoneEditor.ScenarioItems.PropertyPanels
{
partial class SpawnProperty
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources bei... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace SNWDSafeMonitor.Models
{
public class SampleViewModel
{
public List<Sample> Table { get; set; }
}
} |
using Chaperone_API.Models;
using Chaperone_API.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace Chaperone_API.Controllers
{
[RoutePrefix("api/genderRatio")]
public class GenderRatioController : ApiControll... |
using CorporateEvents;
using Microsoft.SharePoint.Client;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace Core.ConnSigRAngJSApps.Models
{
public class Event : BaseListItem {
internal static readonly Guid Registered... |
using DocumentsCalculation.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace DocumentsCalculation.Services.Constracts
{
public interface ICalculationService
{
Task<IEnumerable<CalculateInvoiceOutputModel>> CalculateDocumentsAsync(CalculateInvoiceInputModel input);
}... |
namespace MyTested.AspNetCore.Mvc.Test.Setups.Controllers
{
using Common;
using Microsoft.AspNetCore.Mvc;
public class MultipleDbContextController : Controller
{
private readonly CustomDbContext data;
private readonly AnotherDbContext anotherData;
public MultipleDbContextContr... |
using System.Net;
using System.Runtime.InteropServices;
namespace ModbusTcp.Protocol
{
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public class ModbusHeader
{
[MarshalAs(UnmanagedType.U2)]
public short TransactionIdentifier;
[MarshalAs(UnmanagedType.U2)]
public short P... |
using Cofoundry.Domain.Extendable;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Cofoundry.Domain.Internal
{
public class ContentRepositoryCustomEntityRepository
: IContentRepositoryCustomEntit... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Medidata.RWS.Extras.AuditEvent
{
/// <summary>
/// Comment related attributes
/// </summary>
public class Comment : ContextBase
{
/// <summary>
/// Gets the repeat key.
/// </sum... |
// Copyright (c) Valdis Iljuconoks. All rights reserved.
// Licensed under Apache-2.0. See the LICENSE file in the project root for more information
using System;
using System.Collections.Generic;
using System.Globalization;
using DbLocalizationProvider.Abstractions;
using DbLocalizationProvider.Queries;
namespace Db... |
// Copyright (c) 2020, Phoenix Contact GmbH & Co. KG
// Licensed under the Apache License, Version 2.0
using Caliburn.Micro;
namespace Moryx.Controls.Demo.ViewModels
{
public class TemplatesViewModel : Screen
{
public override string DisplayName => "Templates";
}
} |
using System;
using UnityEngine;
namespace Legacy.Utilities
{
public class Explosion : MonoBehaviour
{
[SerializeField]
private Single m_radius = 5f;
[SerializeField]
private Single m_force = 100f;
[SerializeField]
private Boolean m_explodeOnStart;
public void Explode()
{
Collider[] array = Ph... |
// 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 Cake.Common.Build.GitLabCI.Data;
namespace Cake.Common.Build.GitLabCI
{
/// <summary>
/// Represents... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System;
public class GalleryViewController : GalleryView
{
[SerializeField]
private Text _answer;
[SerializeField]
private Text[] _answers;
[SerializeField]
private Button _answeredCorrectButton;
[SerializeField]
... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using TokenTestApi.Core.Domain.Interfaces.Repository;
using TokenTestApi.Core.Domain... |
using DDWRTBinReader.Logic;
using System;
using System.Collections.Generic;
using System.IO;
// TODO:
// OK Create structure to represent values (can use Dictionary)
// OK Refactor read class from reader to I/O.
// OK Provide Writing funcionality
// Allow customization in writing sequence (alpha, NULL values first/l... |
// 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.
//
// This is used internally to create best fit behavior as per the original windows best fit behavior.
//
using S... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace Prime.Migrations
{
public partial class AddPlrLookups : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "PlrExpertiseLookup",
co... |
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Unity;
using Unity.Interception.ContainerIntegration;
using Unity.Inter... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace dcrpt_miner
{
public class Startup
{
public Startup(IConfiguration configuration)
{
Configuration = configurati... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... |
// --------------------------------------------------------------------------------------------------------------------
// <auto-generated>
// Generated using OBeautifulCode.CodeGen.ModelObject (1.0.0.0)
// </auto-generated>
// -----------------------------------------------------------------------------------------... |
using System;
namespace Bpmtk.Bpmn2
{
/// <summary>
/// Upon activation, the data in the associated Message is assigned from the data in the Data Input of
/// the Send Task.The Message is sent and the Send Task completes.
/// </summary>
public class SendTask : Task
{
public virtual str... |
using System;
using System.Threading.Tasks;
namespace Nebula.Core.Tests.TestConstructs
{
[RemoteService("BogusService")]
public interface IBogusServiceInterface
{
string ReturnBogusString();
string ReturnBogusString(string input);
Task<string> ReturnBogusStringAsync(string input);
... |
using PnP.Scanning.Core.Services;
using PnP.Scanning.Core.Storage;
using Serilog;
using System.Threading.Tasks.Dataflow;
namespace PnP.Scanning.Core.Queues
{
internal sealed class SiteCollectionQueue : QueueBase<SiteCollectionQueue>
{
// Queue containting the tasks to process
private ActionBlo... |
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace google.maps
{
[ScriptName("Object")]
[IgnoreNamespace]
[Imported]
public sealed partial class GeocoderResult
{
/// <summary>
/// An array of GeocoderAddressComponents
/// </summ... |
/*
* 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... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - Controllers</title>
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="~/css/si... |
using System.Collections.Generic;
/// <summary>
/// Same as TradeLogic_4, but all orders takes profit above (below) first order.
/// </summary>
public class TradeLogic_5 : TradeLogic
{
public bool takeProfit = false;
public bool stopLoss = false;
public readonly int lookbackTimeframe = 0;
public reado... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace Identity.ExternalClaims
{
public class Program
... |
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
/*
* AvaTax API Client Library
*
* (c) 2004-2019 Avalara, Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Genevieve Conty
* @author Greg Hester... |
using UnityEngine;
namespace Core.Common.Extensions.BitStrap
{
/// <summary>
/// Bunch of utility extension methods to the Component class.
/// </summary>
public static class ComponentExtensions
{
/// <summary>
/// Like the Component.GetComponentInParent however it allows to find i... |
using System;
using System.Collections.Generic;
using System.IO;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Stratis.Bitcoin.Utilities;
namespace Stratis.Bitcoin.Features.Api
{
public class Program
{
public static void Main(string[] args)
{
... |
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
namespace Eklee.Azure.Functions.Http.Tests.Models
{
public class MockHttpRequest : HttpRequest
{
public MockHttpRequest()
{
Headers = new HeaderDictionary();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Routing;
namespace WebApiToDatabaseProxy
{
public class WebApiApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
GlobalConfigura... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace JWTAuthenticationApp.Models
{
public class UserCredentialModel
{
public string EmailAddress { get; set; }
public string Password { get; set; }
}
public class UserModel
{
... |
using System;
namespace Discord.Commands
{
public class CommandEventArgs
{
private readonly string[] _args;
public Message Message { get; }
public Command Command { get; }
public User User => Message.User;
public Channel Channel => Message.Channel;
public Server Server => Message.Channel.Server;
... |
using System.IO;
using System.Runtime.Serialization;
using GameEstate.Formats.Red.CR2W.Reflection;
using FastMember;
using static GameEstate.Formats.Red.Records.Enums;
namespace GameEstate.Formats.Red.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class CAINpcStyleOneHandedBluntParams : CAINpcCombatStyleP... |
using System;
using System.Runtime.InteropServices;
using UnityEngine;
using UnityEngine.Rendering;
using static Klak.Ndi.MetadataQueue;
namespace Klak.Ndi {
[ExecuteInEditMode]
public sealed partial class NdiSender : MonoBehaviour
{
#region Internal objects
int _width, _height;
Interop.Send _send;
F... |
/*
* Copyright 2015-2018 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
*
* Unless r... |
using System;
using Microsoft.AspNetCore.Mvc.Razor;
namespace TestProject.TestClasses
{
public class HelperResultUpgrade
{
public HelperResult Method1(HelperResult r)
{
Func<string, HelperResult> x = a => new HelperResult(writer => writer.Write(a));
return (Foo.HelperR... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
namespace System.Data.Entity.Core.Objects.Internal
{
using System.Data.Entity.Core.Metadata.Edm;
using System.Data.Entity.Core.Objects.DataClasses;
using System.D... |
/*
* 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... |
namespace Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515
{
using Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Runtime.PowerShell;
/// <summary>
/// Properties of the IoTHub event source that are required on create or update requests.
/// </summary>
[System.Compone... |
#pragma checksum "C:\git\iot-edge-blazor\BlazorClientModule\Pages\Counter.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "9ac7d3097b02560e8e25769167f4d2a9a649f758"
// <auto-generated/>
#pragma warning disable 1591
#pragma warning disable 0414
#pragma warning disable 0649
#pragma warning disable 0169
namespace BlazorC... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using TygaSoft.IDAL;
using TygaSoft.Model;
using TygaSoft.DBUtility;
namespace TygaSoft.SqlServerDAL
{
public partial class UserLevelView : IUserLevelView
{
#region IUse... |
// Fill out your copyright notice in the Description page of Project Settings.
using UnrealBuildTool;
using System.Collections.Generic;
public class CLNRTarget : TargetRules
{
public CLNRTarget(TargetInfo Target)
{
Type = TargetType.Game;
}
//
// TargetRules interface.
//
public override void SetupBinaries... |
using System;
using FluentNHibernate.Cfg;
using NHibernate.Cfg;
using NHibernate.Tool.hbm2ddl;
namespace Incoding.Data.NHibernate
{
#region << Using >>
#endregion
////ncrunch: no coverage start
public class NhibernateManagerDataBase : IManagerDataBase
{
#region Fields
readonly La... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace XmlPartsersDemo
{
class Program
{
static void Main()
{
using (XmlReader reader = XmlReader.Create("../../XMLS/Library.xml"))
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace System.Collections.Tests
{
/// <summary>
/// Contains tests that ensure the correctness of any cl... |
using Abp.Authorization.Users;
using Abp.Domain.Repositories;
using Abp.Domain.Uow;
using Abp.Linq;
using Abp.Organizations;
using MyTestingProject.Authorization.Roles;
namespace MyTestingProject.Authorization.Users
{
public class UserStore : AbpUserStore<Role, User>
{
public UserStore(
IUn... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using com.onebuckgames.UnityStarFarers;
public abstract class MapGenerator
{
public abstract Map GenerateRandomMap();
}
public class DefaultMapGenerator : MapGenerator
{
List<SpacePoint> basePoints;
List<SpacePoi... |
//
// Copyright (c) 2004-2020 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// 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 s... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="CustomExchange.cs" company="The original author or authors.">
// Copyright 2002-2012 the original author or authors.
//
// Licensed under the Apache License, Version 2.0 (t... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Baryon.Models
{
public class ApplicationUser
{
public int Id { get; set; }
public string UserName { get; set; }
public string NormalizedUserName { get; set; }
public st... |
/*
* 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... |
using BlazorBoilerplate.Infrastructure.AuthorizationDefinitions;
using BlazorBoilerplate.Infrastructure.Storage.DataInterfaces;
using System.ComponentModel.DataAnnotations;
namespace BlazorBoilerplate.Infrastructure.Storage.DataModels
{
[Permissions(Actions.Delete)]
public partial class Todo : IAuditable, ISo... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace UserLogs
{
class Program
{
static void Main(string[] args)
{
//• IP = (IP.Address)message = (A & sample & message) user = (username)
SortedDictionary<string, Dictionary<string, int>> users = n... |
/*
* 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 ... |
/*
* OEML - REST API
*
* This section will provide necessary information about the `CoinAPI OEML REST API` protocol. This API is also available in the Postman application: <a href=\"https://postman.coinapi.io/\" target=\"_blank\">https://postman.coinapi.io/</a>
*
* The version of the OpenAPI document: v1
*... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.