PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Infrastructure Namespace / Factory(!0, !1) Class

Factory<!0, !1> Class

Generic implementation of IFactory<!0>.
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.AspectInfrastructure.Factory<!0, !1>

Namespace:  PostSharp.Sdk.AspectInfrastructure
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public sealed class Factory<!0, !1> : IFactory<!0>
where !1 : new(), !0

Type Parameters

!0

[Missing <typeparam name="!0"/> documentation for "T:PostSharp.Sdk.AspectInfrastructure.Factory`2"]

!1

[Missing <typeparam name="!1"/> documentation for "T:PostSharp.Sdk.AspectInfrastructure.Factory`2"]

The Factory<!0, !1> type exposes the following members.

Constructors
  NameDescription
Public methodFactory<!0, !1>
Initializes a new instance of the Factory<!0, !1> class
Methods
  NameDescription
Public methodCreate
Returns a new object.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also