This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class ApplicationUserManager : UserManager<AspNetUser, long> | |
| { | |
| public ApplicationUserManager(IUserStore<AspNetUser, long> store) | |
| : base(store) | |
| { | |
| } | |
| public static ApplicationUserManager Create(IdentityFactoryOptions<ApplicationUserManager> options, | |
| IOwinContext context) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| kernel.Bind<IAspNetUserStore>().To<AspNetUserStoreSql>(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public interface IAspNetUserStore : | |
| IUserPasswordStore<AspNetUser, long>, | |
| IUserEmailStore<AspNetUser, long>, | |
| IUserLoginStore<AspNetUser, long>, | |
| IUserClaimStore<AspNetUser, long>, | |
| IUserRoleStore<AspNetUser, long>, | |
| IUserSecurityStampStore<AspNetUser, long>, | |
| IQueryableUserStore<AspNetUser, long>, | |
| IUserPhoneNumberStore<AspNetUser, long>, | |
| IUserLockoutStore<AspNetUser, long>, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace Microsoft.AspNet.Identity | |
| { | |
| /// <summary>Interface that exposes basic user management apis</summary> | |
| /// <typeparam name="TUser"></typeparam> | |
| /// <typeparam name="TKey"></typeparam> | |
| public interface IUserStore<TUser, in TKey> : IDisposable where TUser : class, IUser<TKey> | |
| { | |
| /// <summary>Insert a new user</summary> | |
| /// <param name="user"></param> | |
| /// <returns></returns> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class InvocationExpressionSyntaxEvaluator : SyntaxNodeEvaluator | |
| { | |
| public InvocationExpressionSyntaxEvaluator() | |
| { | |
| ObjectFactory.BuildUp(this); | |
| } | |
| public IMethodInvocationResolver MethodInvocationResolver { get; set; } | |
| #region Protected Methods and Operators |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class CodeEvaluatorExecutionStack | |
| { | |
| #region SpecificFields | |
| private readonly List<CodeEvaluatorExecutionFrame> _staticWorkflowEvaluatorExecutionFrames = | |
| new List<CodeEvaluatorExecutionFrame>(); | |
| private readonly List<ISyntaxNodeEvaluator> _syntaxNodeEvaluatorStack = new List<ISyntaxNodeEvaluator>(); | |
| private readonly List<SyntaxNode> _syntaxNodeStack = new List<SyntaxNode>(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class CodeEvaluatorExecutionFrame | |
| { | |
| #region Public Properties | |
| /// <summary> | |
| /// Gets or sets the accessed reference. | |
| /// </summary> | |
| /// <value> | |
| /// The accessed reference. | |
| /// </value> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <ItemGroup> | |
| <PackageReference Include="Microsoft.NETCore.Runtime.CoreCLR" Version="2.0.0" /> | |
| <PackageReference Include="Microsoft.NETCore.Native" Version="2.0.0" /> | |
| <PackageReference Include="runtime.win-x64.Microsoft.NETCore.Runtime.CoreCLR" Version="2.0.0" /> | |
| <PackageReference Include="Microsoft.Private.CoreFx.NETCoreApp" Version="4.4.0-preview3-25521-0" /> | |
| </ItemGroup> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace MethodsDelegatesFieldsDemo | |
| { | |
| public class InheritanceChainDemoClassLevel1 | |
| { | |
| public virtual void DuplicateMethod() | |
| { | |
| Console.WriteLine("Executing virtual method from InheritanceChainDemoClassLevel1 on the same object"); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace MethodsDelegatesFieldsDemo | |
| { | |
| public class BaseClassVirtualMethod | |
| { | |
| public virtual void DuplicateMethod() |