text stringlengths 1 932k |
|---|
@using Microsoft.AspNetCore.Identity
@using BikeStore.Areas.DbAdmin
@using BikeStore.Areas.DbAdmin.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers |
using System;
using System.Diagnostics;
namespace QuestPatcher.Axml
{
/// <summary>
/// Represents an AXML attribute.
/// </summary>
public class AxmlAttribute
{
/// <summary>
/// Name of the attribute
/// </summary>
public string Name { get; set; }
/// <su... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hs.VirtualPin.Database
{
public class HyperPinDatabase
{
}
} |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Text;
using System.Net;
using System.Collections;
using System.Security.Principal;
using System.Runtime.InteropServices;
using System.Diagnostics;
using Microsoft.Win32... |
using Microsoft.AspNetCore.Authorization;
namespace AspNetCoreAzureStorageGroups
{
public class StorageBlobDataReaderRoleRequirement : IAuthorizationRequirement { }
} |
using System;
using System.Globalization;
using System.Linq;
using DogAgilityCompetition.Controller.Engine.Storage.FileFormats;
using DogAgilityCompetition.Specs.Builders;
using FluentAssertions;
using Xunit;
// @formatter:keep_existing_linebreaks true
namespace DogAgilityCompetition.Specs.DelimitedValuesSpecs
{
... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace JsDataGrids.UI
{
public class Startup
{
public Startup(IConfiguration configuration)
{
... |
using System;
using Apache.NMS;
using NSubstitute;
using Serilog;
using Xunit;
namespace DarwinClient.Test
{
public class PushPortTest
{
[Fact]
public void PushportUrl()
{
var factory = Substitute.For<IConnectionFactory>();
factory.BrokerUri = new Uri("activemq:... |
using System;
using Newtonsoft.Json;
namespace Scheduler.Common.Types
{
public class BalanceSheet : IPersistable
{
[JsonProperty("reportDate")]
public DateTimeOffset ReportDate { get; set; }
[JsonProperty("currentCash")]
public long CurrentCash { get; set; }
[JsonPrope... |
// ----------------------------------------------------------------------------------
//
// 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... |
using System;
using JetBrains.Annotations;
namespace MAVN.Job.QuorumTransactionWatcher.Contract
{
[PublicAPI]
public interface ITransactionEvent
{
/// <summary>
/// The transaction hash.
/// </summary>
string TransactionHash { get; set; }
/// <summary>
//... |
using CantinaGG.Classes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CantinaGG
{
static void Main(string[] args)
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Amazon.SQS.Model;
using Helpful.Aws.Sqs.Receiver.Exceptions;
using Helpful.Aws.Sqs.Receiver.Sqs;
namespace Helpful.Aws.Sqs.Receiver
{
public class MessageReceiver : IMessageReceiver
{
private readonly... |
// <auto-generated />
using System;
using DatingApp.API.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace DatingApp.API.Migrations
{
[DbContext(typeof... |
namespace SFA.Apprenticeships.Web.Recruit.UnitTests.Validators.VacancyPosting
{
using System;
using Builders;
using Common.UnitTests.Validators;
using Common.Validators;
using Common.ViewModels;
using Domain.Entities.Vacancies;
using FluentAssertions;
using FluentValidation;
using F... |
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
namespace WebApi
{
public class Program
{
public static void Main(string[] args)
{
BuildWebHost(args).Run();
}
public static IWebHost BuildWebHost(string[] args) =>
WebHost.CreateDefaultBuil... |
//------------------------------------------------------------------------------
// <auto-generated>
// このコードはツールによって生成されました。
// ランタイム バージョン:4.0.30319.42000
//
// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
// コードが再生成されるときに損失したりします
// </auto-generated>
//----------------------------------------------------------... |
//
// The MIT License(MIT)
//
// Copyright(c) 2014 Demonsaw LLC
//
// 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, ... |
using System;
using System.Collections.Concurrent;
using Umbraco.Core.Models;
using Umbraco.Core.Persistence.Dtos;
namespace Umbraco.Core.Persistence.Mappers
{
/// <summary>
/// Represents a <see cref="Content"/> to DTO mapper used to translate the properties of the public api
/// implementation to that o... |
using System;
namespace MeltySynth
{
internal sealed class Lfo
{
private readonly Synthesizer synthesizer;
private bool active;
private double delay;
private double period;
private int processedSampleCount;
private float value;
internal Lfo(Synthesiz... |
using System.Numerics;
namespace KelsonBall.Geometry.Areas
{
public class TransformArea : Area
{
public readonly Area Root;
private readonly TransformStack<Vector2> transformStack = Transform2.NewTransformStack();
internal TransformArea(Area root)
{
Root = root;
... |
@model XData.WebApp.Models.SetInitialPasswordModel
@{
ViewBag.Title = "Set initial password";
}
<h2>Set initial password for all new users</h2>
<hr />
<form id="form" class="form-horizontal" method="post" role="form"
data-bv-message="This value is not valid"
data-bv-feedbackicons-valid="glyphicon g... |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace GnuCash.TransactionImportGenerator.Parsers.PocztowyXmlOperationsFile.DataContract
{
[ExcludeFromCodeCoverage]
pub... |
namespace TeamPicker.Helpers
{
public static class ObjectTypeHelper
{
public static T Cast<T>(this Java.Lang.Object obj) where T : class
{
var propertyInfo = obj.GetType().GetProperty("Instance");
return propertyInfo == null ? null : propertyInfo.GetValue(obj, null) as T;... |
//------------------------------------------------------------------------------
// <auto-generated>
// Ce code a été généré par un outil.
// Version du runtime :4.0.30319.34209
//
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
// le code es... |
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace Forma1Teams.Web.Pages.Errors
{
public class NotFoundModel : PageModel
{
public void OnGet()
{
}
}
} |
// Graph Engine
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
//
using System;
using System.Collections.Generic;
using System.Net;
using System.IO;
using System.Text;
using Trinity;
using Trinity.Utilities;
usin... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
public class EnduranceDriver:Drivers
{
public EnduranceDriver(string name, Car car) : base(name, car)
{
}
public override double FuelConsumptionPerKm => 1.5;
public override double Speed => base.Speed;
} |
using SW.PrimitiveTypes;
using System.Threading.Tasks;
namespace SW.Gds.Resources.Currencies
{
class Search : ISearchyHandler
{
public Search()
{
}
async public Task<object> Handle(SearchyRequest searchyRequest, bool lookup = false, string searchPhrase = null)
{
... |
@model Flowmaker.ViewModels.Views.FlowmakerPageVm;
<vc:header />
@Html.Raw(Model.ViewPageContent)
<vc:footer /> |
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using JetBrains.Annotations;
using UnityEngine;
namespace CGTK.Utils.Terminal
{
public static partial class Terminal
{
public sealed class Drawer : MonoBehaviour
{
#region Singleton
... |
using System;
using System.Globalization;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using MPM.Types;
using Newtonsoft.Json.Converters;
using SemVersion = MPM.Types.SemVersion;
namespace MPM.Util.Json {
public class UtcDateTimeConverter : IsoDateTimeConverter {
public UtcDateTimeConverter() {
... |
namespace FiveDChessDataInterface.Types
{
public struct ChessBoardSize
{
public int Width { get; }
public int Height { get; }
public ChessBoardSize(int width, int height)
{
this.Width = width;
this.Height = height;
}
public strin... |
using System.IO;
using System.Linq;
using Xunit;
#pragma warning disable xUnit2000
#pragma warning disable xUnit2004
#pragma warning disable xUnit2012
#pragma warning disable xUnit2013
namespace EmailReplyParser.Tests
{
public sealed class EmailParserTests
{
private static readonly string COMMON_FIRST_FRAGMENT =... |
using System.Text.Json.Serialization;
namespace Essensoft.Paylink.Alipay.Response
{
/// <summary>
/// AlipayPcreditHuabeiPcreditmerchantProductorderApplyResponse.
/// </summary>
public class AlipayPcreditHuabeiPcreditmerchantProductorderApplyResponse : AlipayResponse
{
/// <summary>
... |
using System;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using Server.MessagePack;
using VenomRAT_HVNC.Server.Connection;
namespace VenomRAT_HVNC.Server.Handle_Packet
{
public class HandleRecovery
{
public HandleRecovery(Clients client, MsgPack unpack_msgpack)
{
... |
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//----... |
using System;
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.AutoMapper;
using Volo.Abp.Modularity;
using Volo.Abp.Application;
using Microsoft.Extensions.Configuration;
using Volo.Abp;
using Volo.Abp.AspNetCore.SignalR;
namespace QYQ.DataManagement.NotificationManagement
{
[DependsOn(
type... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ObjectExtensions.cs" company="">
// Copyright 2013 Thomas PIERRAIN
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in c... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WallETools
{
/// <summary>
/// Representa todas las formas que pueden tener los objetos.
/// </summary>
public class Shapes : EnumBaseType<Shape... |
using Microsoft.EntityFrameworkCore;
using SamuraiApp.Data;
using SamuraiApp.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
namespace SamuraiApp.UI
{
internal class SimpleInteractions
{
private static SamuraiContext _context = new();
internal static void Interact()... |
// The MIT License (MIT)
//
// Copyright (c) 2015-2021 Rasmus Mikkelsen
// Copyright (c) 2015-2021 eBay Software Foundation
// https://github.com/eventflow/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software... |
using UnityEngine;
using System.Collections;
using UnityStandardAssets.CrossPlatformInput;
public class CharacterController2D : MonoBehaviour {
// player controls
[Range(0.0f, 10.0f)] // create a slider in the editor and set limits on moveSpeed
public float moveSpeed = 3f;
public float jumpForce = 600f;
// pl... |
@Html.Partial("../UserShop/UserShopTop")
<div class="alert alert-success" style="margin-top:3px;">
<a href="Index">总体销售统计</a> |
<a href="SaleByProduct">商品销售排名</a> |
<a href="SaleByClass">商品类别销售排名</a> |
<a href="SaleByDay">商品按日销售排名</a> |
@*<a href="SaleByUser">会员订单排名</a>*@
</div> |
using Unity.Mathematics;
namespace Physics
{
public struct AABB
{
public float2 Min;
public float2 Max;
public AABB(float2 size, float2 position, float rotation)
{
math.sincos(rotation, out float sin, out float cos);
float ex = math.max(math.abs... |
using System;
using System.Reactive;
using System.Reactive.Threading.Tasks;
using Octokit.Reactive.Internal;
namespace Octokit.Reactive
{
/// <summary>
/// Client for accessing contents of files within a repository as base64 encoded content.
/// </summary>
/// <remarks>
/// See the <a href="https:... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
namespace LearnIt.Data.Entities
{
// Add profile data for application users by adding properties to the LIUser class
public class LIUser : IdentityUser<string>
{
pu... |
namespace SampleAppV0.Services
{
public sealed class SampleService : ISampleService
{
public int GetNumber() => 100;
}
} |
#if UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR
/**
* Autogenerated by Thrift Compiler ()
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.IO;
using Thrift... |
using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ApacheOrcDotNet.Protocol
{
[ProtoContract]
public class RowIndex
{
[ProtoMember(1)]
public List<RowIndexEntry> Entry { get; } = new List<RowIndexEntry>();
}
} |
// 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.Net.WebSockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.SignalR.I... |
//------------------------------------------------------------------------------
// <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.Configuration;
using System.Data.SqlServerCe;
using System.IO;
using Moq;
using NUnit.Framework;
using SQLCE4Umbraco;
using Umbraco.Core;
using Umbraco.Core.Logging;
using Umbraco.Core.Persistence;
using Umbraco.Core.Persistence.SqlSyntax;
using Umbraco.Tests.TestHelpers;
namespace Umbraco.... |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... |
//------------------------------------------------------------------------------
// <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.IO;
using System;
using System.Security.Cryptography;
using System.IO.Compression;
using MonoCross.Utilities.Network;
namespace MonoCross.Utilities.Storage
{
/// <summary>
/// For now we will not be catching any exceptions, and will not be very defensive either.
/// The business developer will... |
/*
* 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) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Wizard
{
public delegate void WizardReturnEventHandler(object sender, WizardReturnEventArgs e);
} |
namespace WpfXamlAnalysisReference.Views
{
public partial class LabelPage : GenericPage
{
public LabelPage()
{
InitializeComponent();
DataContext = this;
}
public string SomeText { get; } = "This is some text";
}
} |
namespace DAL.Entity
{
public class Item
{
public string Name { get; set; }
public int SellIn { get; set; }
public int Quality { get; set; }
public override string ToString()
{
return this.Name + ", " + this.SellIn + ", " + this.Quality;
}
}
} |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 12.02.2021.
using System;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentMode... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class toggleChanger : MonoBehaviour
{
public Toggle sound ;
public Toggle effect ;
// Start is called before the first frame update
void Start()
{
if(PlayerPrefs.GetFloat("soundVolume"... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DoToo.UWP
{
public class Bootstrapper : DoToo.Bootstrapper
{
public static void Init()
{
var instance = new Bootstrapper();
}
}
} |
/*
* 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
*
... |
// -----------------------------------------------------------------------------
// 让 .NET 开发更简单,更通用,更流行。
// Copyright © 2020-2021 Furion, 百小僧, Baiqian Co.,Ltd.
//
// 框架名称:Furion
// 框架作者:百小僧
// 框架版本:2.7.9
// 源码地址:Gitee: https://gitee.com/dotnetchina/Furion
// Github:https://github.com/monksoul/Furion
// 开源协议:... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Cars
{
public class Weapony : MonoBehaviour
{
public TargetFinder targetFinder;
public float MiniGuntime, MinigunSpeed = 0.1f, MinigunOverHeat = 0f, TimeToOverHeat = 3;
public bool OverHeated;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.OpenApi.Models;
namespace Surging.Core.Swagger_V5.Swagger
{
public interface ISwaggerProvider
{
OpenApiDocument GetSwagger(
string documentName,
string host = null,
string basePath = ... |
/*
Copyright (C) 2020 Jean-Camille Tournier (mail@tournierjc.fr)
This file is part of QLCore Project https://github.com/OpenDerivatives/QLCore
QLCore is free software: you can redistribute it and/or modify it
under the terms of the QLCore and QLNet license. You should have received a
copy of the license along w... |
using Rhino.Mocks;
namespace Stashbox.Mocking.Rhino.Mocks
{
/// <summary>
/// Represents the RhinoMocks integration for Stashbox.
/// </summary>
public class StashRhino : MockingBase
{
private StashRhino()
: base(new StashboxContainer(config => config.WithUnknownTypeResolution(... |
using AutoMapper;
using PWD.Schedule.Authorization.Users;
namespace PWD.Schedule.Users.Dto
{
public class UserMapProfile : Profile
{
public UserMapProfile()
{
CreateMap<UserDto, User>();
CreateMap<UserDto, User>()
.ForMember(x => x.Roles, opt => opt.Igno... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Galaxies.Core
{
/// <summary>
/// Base class for all object in scene.
/// </summary>
public abstract class GameObject
{
#region Fields
protected Transform transform;
protected Color colo... |
#region Apache License
//
// 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
// (th... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using Modix.Data.Models.Core;
using Modix.RemoraShim.Models;
using Modix.RemoraShim.Services;
using Modix.Services.Core;
using Modix.Servi... |
@using EPiServer.Core
@using AlloyTemplates.Controllers
@model TeaserBlock
<div class="border">
@*Link the teaser block only if a link has been set and not displayed in preview*@
@using(Html.BeginConditionalLink(
!ContentReference.IsNullOrEmpty(Model.Link) && !(ViewContext.Controller is PreviewContro... |
using System;
using System.Threading.Tasks;
namespace ParallelSorting.Serials
{
public class BubbleSorter : ISorter
{
internal static void Sort(Memory<int> arr)
{
Span<int> span = arr.Span;
for (int i = 0; i < span.Length; i++)
{
for (int j =... |
/* Copyright (C) 2011 Przemyslaw Szeptycki <pszeptycki@gmail.com>, Ecole Centrale de Lyon,
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at yo... |
//
// BindingManagerDataErrorEventArgs.cs
//
// 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... |
// 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.
//
//
//
// Description: Specifies that the whitespace surrounding an element should be trimmed.
//
using System;
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Web.Http.Controllers;
using System.Web.Http.Routing;
using System.Web.... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Mukuro.Dialog
{
[EventCommand("Mukuro Dialog", "ダイアログセッション")]
public class DialogSessionCommand : EventCommand
{
[SerializeField] private string providerName = default;
[SerializeField] private EventCo... |
using System;
using System.Text.RegularExpressions;
namespace ZanyBaka.Shared.Utils.Lib.Entities.String
{
public class WildcardToRegular
{
private readonly string _input;
public WildcardToRegular(string input)
{
if (string.IsNullOrEmpty(input))
{
... |
// 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.Diagnostics;
using System.Reflection.Stark.Metadata;
using StarkPlatform.CodeAnalysis.Text;
using Roslyn.Utilities;
namespace Sta... |
using System;
namespace FontAwesome
{
/// <summary>
/// The unicode values for all FontAwesome icons.
/// <para/>
/// See https://fontawesome.com/cheatsheet
/// <para/>
/// This code was automatically generated by FA2CS (https://github.com/michaelswells/fa2cs a modified fork from https://github... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
using System.Xml.Linq;
namespace ShapeTemplateLib
{
/// <summary>
/// The BoundaryLineSegment class is used to define an list of line segments.
/// This width and heig... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace PSRule.Host
{
internal interface IDependencyTarget
{
string RuleId { get; }
string[] DependsOn { get; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace UncommonSense.CBreeze.IO
{
public enum SynchronizeSchemaChanges
{
Yes,
No,
Force
}
} |
using System;
namespace SharpPulsar.Protocol.Proto
{
public sealed partial class CommandGetSchema
{
public static Builder NewBuilder()
{
return Builder.Create();
}
public sealed class Builder
{
private CommandGetSchema _schema;
public Builder()
{
... |
using System;
using System.Threading.Tasks;
using Prototype.Utils;
using UnityEngine;
namespace Prototype.UI
{
public class GlobalUIPanel<T> : UIPanel where T : GlobalUIPanel<T>
{
public static T Instance;
protected override void Awake()
{
base.Awake();
Instanc... |
//
// DuplexStreamTests.cs
//
// Author: Jeffrey Stedfast <jestedfa@microsoft.com>
//
// Copyright (c) 2013-2019 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 S... |
/*
MIT License
Copyright (c) 2021 Gregor Mohorko
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... |
// <copyright file="HttpWebRequestTests.Basic.net461.cs" company="OpenTelemetry Authors">
// Copyright 2018, OpenTelemetry Authors
//
// 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
//
// ... |
/*
* AssemblyInfo.cs --
*
* Copyright (c) 2007-2012 by Joe Mistachkin. All rights reserved.
*
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
* RCS: @(#) $Id: $
*/
using System.Reflection;
using System.Resources;
using Syste... |
/*
* 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;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;
using app.Repositories;
using AutoMapper;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
us... |
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... |
using UnityEngine;
using System.Collections;
public class LineDynamics : MonoBehaviour
{
public SK2LR _sk2lr;
public virtual void UpdateLineRenderer(){
}
protected StrokeTracer2 GetStrokeTracer2()
{
return _sk2lr.GetSKTraceer2();
}
} |
using System.Collections.Generic;
using UnityEngine;
using SanAndreasUnity.Utilities;
using SanAndreasUnity.Net;
namespace SanAndreasUnity.Behaviours
{
public static class PedDamageInfoExtensions
{
public static Ped GetAttackerPed(this DamageInfo damageInfo)
{
return damageInfo.attacker as Ped;
}
}
pub... |
using System.Reflection;
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("HostPhotoManagerWCF")]
[assembly: Assembly... |
using System;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace Drawmasters.Ui
{
public class AnimatedButton : Button
{
#region Overrided methods
public override void OnPointerEnter(PointerEventData eventData){}
public override void OnPointerExit(PointerEventData eventD... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.