Show / Hide Table of Contents

Class RewriterBuilderCase

Tools for building rewriters for a single subclass of a base type.

Inheritance
Object
RewriterBuilderCase
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sawmill
Assembly: Sawmill.dll
Syntax
public static class RewriterBuilderCase

Methods

| Improve this Doc View Source

ConstructWith<U1, U2, U3, U4, U5, U6, U7, U8, TBase, TSub>(RewriterBuilderCase<, TBase, TSub>, Func<U1, U2, U3, U4, U5, U6, U7, U8, TSub>)

Rebuild the subtype with the supplied function, after flattening the tuple.

Declaration
public static IRewriter<TBase> ConstructWith<U1, U2, U3, U4, U5, U6, U7, U8, TBase, TSub>(this RewriterBuilderCase<, TBase, TSub> builder, Func<U1, U2, U3, U4, U5, U6, U7, U8, TSub> constructor)where TSub : TBase
Parameters
Type Name Description
RewriterBuilderCase<System., TBase, TSub> builder
System.Func<U1, U2, U3, U4, U5, U6, U7, U8, TSub> constructor
Returns
Type Description
IRewriter<TBase>
Type Parameters
Name Description
U1
U2
U3
U4
U5
U6
U7
U8
TBase
TSub
| Improve this Doc View Source

ConstructWith<TBase, TSub>(RewriterBuilderCase<Object, TBase, TSub>, Func<TSub>)

Rebuild the subtype with the supplied function.

Declaration
public static IRewriter<TBase> ConstructWith<TBase, TSub>(this RewriterBuilderCase<object, TBase, TSub> builder, Func<TSub> constructor)where TSub : TBase
Parameters
Type Name Description
RewriterBuilderCase<Object, TBase, TSub> builder
System.Func<TSub> constructor
Returns
Type Description
IRewriter<TBase>
Type Parameters
Name Description
TBase
TSub
| Improve this Doc View Source

ConstructWith<T, TBase, TSub>(RewriterBuilderCase<T, TBase, TSub>, Func<T, TSub>)

Rebuild the subtype with the supplied function.

Declaration
public static IRewriter<TBase> ConstructWith<T, TBase, TSub>(this RewriterBuilderCase<T, TBase, TSub> builder, Func<T, TSub> constructor)where TSub : TBase
Parameters
Type Name Description
RewriterBuilderCase<T, TBase, TSub> builder
System.Func<T, TSub> constructor
Returns
Type Description
IRewriter<TBase>
Type Parameters
Name Description
T
TBase
TSub
| Improve this Doc View Source

ConstructWith<U1, TBase, TSub>(RewriterBuilderCase<, TBase, TSub>, Func<U1, TSub>)

Rebuild the subtype with the supplied function, after flattening the tuple.

Declaration
public static IRewriter<TBase> ConstructWith<U1, TBase, TSub>(this RewriterBuilderCase<, TBase, TSub> builder, Func<U1, TSub> constructor)where TSub : TBase
Parameters
Type Name Description
RewriterBuilderCase<System., TBase, TSub> builder
System.Func<U1, TSub> constructor
Returns
Type Description
IRewriter<TBase>
Type Parameters
Name Description
U1
TBase
TSub
| Improve this Doc View Source

ConstructWith<U1, U2, TBase, TSub>(RewriterBuilderCase<, TBase, TSub>, Func<U1, U2, TSub>)

Rebuild the subtype with the supplied function, after flattening the tuple.

Declaration
public static IRewriter<TBase> ConstructWith<U1, U2, TBase, TSub>(this RewriterBuilderCase<, TBase, TSub> builder, Func<U1, U2, TSub> constructor)where TSub : TBase
Parameters
Type Name Description
RewriterBuilderCase<System., TBase, TSub> builder
System.Func<U1, U2, TSub> constructor
Returns
Type Description
IRewriter<TBase>
Type Parameters
Name Description
U1
U2
TBase
TSub
| Improve this Doc View Source

ConstructWith<U1, U2, U3, TBase, TSub>(RewriterBuilderCase<, TBase, TSub>, Func<U1, U2, U3, TSub>)

Rebuild the subtype with the supplied function, after flattening the tuple.

Declaration
public static IRewriter<TBase> ConstructWith<U1, U2, U3, TBase, TSub>(this RewriterBuilderCase<, TBase, TSub> builder, Func<U1, U2, U3, TSub> constructor)where TSub : TBase
Parameters
Type Name Description
RewriterBuilderCase<System., TBase, TSub> builder
System.Func<U1, U2, U3, TSub> constructor
Returns
Type Description
IRewriter<TBase>
Type Parameters
Name Description
U1
U2
U3
TBase
TSub
| Improve this Doc View Source

ConstructWith<U1, U2, U3, U4, TBase, TSub>(RewriterBuilderCase<, TBase, TSub>, Func<U1, U2, U3, U4, TSub>)

Rebuild the subtype with the supplied function, after flattening the tuple.

Declaration
public static IRewriter<TBase> ConstructWith<U1, U2, U3, U4, TBase, TSub>(this RewriterBuilderCase<, TBase, TSub> builder, Func<U1, U2, U3, U4, TSub> constructor)where TSub : TBase
Parameters
Type Name Description
RewriterBuilderCase<System., TBase, TSub> builder
System.Func<U1, U2, U3, U4, TSub> constructor
Returns
Type Description
IRewriter<TBase>
Type Parameters
Name Description
U1
U2
U3
U4
TBase
TSub
| Improve this Doc View Source

ConstructWith<U1, U2, U3, U4, U5, TBase, TSub>(RewriterBuilderCase<, TBase, TSub>, Func<U1, U2, U3, U4, U5, TSub>)

Rebuild the subtype with the supplied function, after flattening the tuple.

Declaration
public static IRewriter<TBase> ConstructWith<U1, U2, U3, U4, U5, TBase, TSub>(this RewriterBuilderCase<, TBase, TSub> builder, Func<U1, U2, U3, U4, U5, TSub> constructor)where TSub : TBase
Parameters
Type Name Description
RewriterBuilderCase<System., TBase, TSub> builder
System.Func<U1, U2, U3, U4, U5, TSub> constructor
Returns
Type Description
IRewriter<TBase>
Type Parameters
Name Description
U1
U2
U3
U4
U5
TBase
TSub
| Improve this Doc View Source

ConstructWith<U1, U2, U3, U4, U5, U6, TBase, TSub>(RewriterBuilderCase<, TBase, TSub>, Func<U1, U2, U3, U4, U5, U6, TSub>)

Rebuild the subtype with the supplied function, after flattening the tuple.

Declaration
public static IRewriter<TBase> ConstructWith<U1, U2, U3, U4, U5, U6, TBase, TSub>(this RewriterBuilderCase<, TBase, TSub> builder, Func<U1, U2, U3, U4, U5, U6, TSub> constructor)where TSub : TBase
Parameters
Type Name Description
RewriterBuilderCase<System., TBase, TSub> builder
System.Func<U1, U2, U3, U4, U5, U6, TSub> constructor
Returns
Type Description
IRewriter<TBase>
Type Parameters
Name Description
U1
U2
U3
U4
U5
U6
TBase
TSub
| Improve this Doc View Source

ConstructWith<U1, U2, U3, U4, U5, U6, U7, TBase, TSub>(RewriterBuilderCase<, TBase, TSub>, Func<U1, U2, U3, U4, U5, U6, U7, TSub>)

Rebuild the subtype with the supplied function, after flattening the tuple.

Declaration
public static IRewriter<TBase> ConstructWith<U1, U2, U3, U4, U5, U6, U7, TBase, TSub>(this RewriterBuilderCase<, TBase, TSub> builder, Func<U1, U2, U3, U4, U5, U6, U7, TSub> constructor)where TSub : TBase
Parameters
Type Name Description
RewriterBuilderCase<System., TBase, TSub> builder
System.Func<U1, U2, U3, U4, U5, U6, U7, TSub> constructor
Returns
Type Description
IRewriter<TBase>
Type Parameters
Name Description
U1
U2
U3
U4
U5
U6
U7
TBase
TSub
  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX