Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
namespace Monify.Console.Classes.Nested.InClass;

/// <summary>
/// Provides a nested class example that uses Monify with integer array types.
/// </summary>
/// <typeparam name="T">The struct type that the outer class is parameterized with.</typeparam>
public sealed partial class OutterForArray<T>
where T : struct
{
/// <summary>
/// Represents the inner class decorated by Monify for integer array types.
/// </summary>
[Monify<int[]>]
public sealed partial class Inner;
}
7 changes: 7 additions & 0 deletions src/Monify.Console/Classes/Nested/InClass/OutterForInt.{T}.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
namespace Monify.Console.Classes.Nested.InClass;

/// <summary>
/// Provides a nested class example that uses Monify with integer types.
/// </summary>
/// <typeparam name="T">The struct type that the outer class is parameterized with.</typeparam>
public sealed partial class OutterForInt<T>
where T : struct
{
/// <summary>
/// Represents the inner class decorated by Monify for integer types.
/// </summary>
[Monify<int>]
public sealed partial class Inner;
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
namespace Monify.Console.Classes.Nested.InClass;

/// <summary>
/// Provides a nested class example that uses Monify with string types.
/// </summary>
/// <typeparam name="T">The struct type that the outer class is parameterized with.</typeparam>
public sealed partial class OutterForString<T>
where T : struct
{
/// <summary>
/// Represents the inner class decorated by Monify for string types.
/// </summary>
[Monify<string>]
public sealed partial class Inner;
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
namespace Monify.Console.Classes.Nested.InInterface;

/// <summary>
/// Defines a nested interface example that uses Monify with integer array types.
/// </summary>
/// <typeparam name="T">The struct type that the interface is parameterized with.</typeparam>
public partial interface IOutterForArray<T>
where T : struct
{
/// <summary>
/// Represents the inner class decorated by Monify for integer array types.
/// </summary>
[Monify<int[]>]
public sealed partial class Inner;
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
namespace Monify.Console.Classes.Nested.InInterface;

/// <summary>
/// Defines a nested interface example that uses Monify with integer types.
/// </summary>
/// <typeparam name="T">The struct type that the interface is parameterized with.</typeparam>
public partial interface IOutterForInt<T>
where T : struct
{
/// <summary>
/// Represents the inner class decorated by Monify for integer types.
/// </summary>
[Monify<int>]
public sealed partial class Inner;
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
namespace Monify.Console.Classes.Nested.InInterface;

/// <summary>
/// Defines a nested interface example that uses Monify with string types.
/// </summary>
/// <typeparam name="T">The struct type that the interface is parameterized with.</typeparam>
public partial interface IOutterForString<T>
where T : struct
{
/// <summary>
/// Represents the inner class decorated by Monify for string types.
/// </summary>
[Monify<string>]
public sealed partial class Inner;
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
namespace Monify.Console.Classes.Nested.InRecord;

/// <summary>
/// Provides a nested record example that uses Monify with integer array types.
/// </summary>
/// <typeparam name="T">The struct type that the outer record is parameterized with.</typeparam>
public sealed partial record OutterForArray<T>
where T : struct
{
/// <summary>
/// Represents the inner class decorated by Monify for integer array types.
/// </summary>
[Monify<int[]>]
public sealed partial class Inner;
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
namespace Monify.Console.Classes.Nested.InRecord;

/// <summary>
/// Provides a nested record example that uses Monify with integer types.
/// </summary>
/// <typeparam name="T">The struct type that the outer record is parameterized with.</typeparam>
public sealed partial record OutterForInt<T>
where T : struct
{
/// <summary>
/// Represents the inner class decorated by Monify for integer types.
/// </summary>
[Monify<int>]
public sealed partial class Inner;
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
namespace Monify.Console.Classes.Nested.InRecord;

/// <summary>
/// Provides a nested record example that uses Monify with string types.
/// </summary>
/// <typeparam name="T">The struct type that the outer record is parameterized with.</typeparam>
public sealed partial record OutterForString<T>
where T : struct
{
/// <summary>
/// Represents the inner class decorated by Monify for string types.
/// </summary>
[Monify<string>]
public sealed partial class Inner;
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
namespace Monify.Console.Classes.Nested.InRecordStruct;

/// <summary>
/// Provides a nested record struct example that uses Monify with integer array types.
/// </summary>
/// <typeparam name="T">The struct type that the outer record struct is parameterized with.</typeparam>
public readonly partial record struct OutterForArray<T>
where T : struct
{
/// <summary>
/// Represents the inner class decorated by Monify for integer array types.
/// </summary>
[Monify<int[]>]
public sealed partial class Inner;
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
namespace Monify.Console.Classes.Nested.InRecordStruct;

/// <summary>
/// Provides a nested record struct example that uses Monify with integer types.
/// </summary>
/// <typeparam name="T">The struct type that the outer record struct is parameterized with.</typeparam>
public readonly partial record struct OutterForInt<T>
where T : struct
{
/// <summary>
/// Represents the inner class decorated by Monify for integer types.
/// </summary>
[Monify<int>]
public sealed partial class Inner;
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
namespace Monify.Console.Classes.Nested.InRecordStruct;

/// <summary>
/// Provides a nested record struct example that uses Monify with string types.
/// </summary>
/// <typeparam name="T">The struct type that the outer record struct is parameterized with.</typeparam>
public readonly partial record struct OutterForString<T>
where T : struct
{
/// <summary>
/// Represents the inner class decorated by Monify for string types.
/// </summary>
[Monify<string>]
public sealed partial class Inner;
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
namespace Monify.Console.Classes.Nested.InStruct;

/// <summary>
/// Provides a nested struct example that uses Monify with integer array types.
/// </summary>
/// <typeparam name="T">The struct type that the outer struct is parameterized with.</typeparam>
public readonly ref partial struct OutterForArray<T>
where T : struct
{
/// <summary>
/// Represents the inner class decorated by Monify for integer array types.
/// </summary>
[Monify<int[]>]
public sealed partial class Inner;
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
namespace Monify.Console.Classes.Nested.InStruct;

/// <summary>
/// Provides a nested struct example that uses Monify with integer types.
/// </summary>
/// <typeparam name="T">The struct type that the outer struct is parameterized with.</typeparam>
public readonly ref partial struct OutterForInt<T>
where T : struct
{
/// <summary>
/// Represents the inner class decorated by Monify for integer types.
/// </summary>
[Monify<int>]
public sealed partial class Inner;
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
namespace Monify.Console.Classes.Nested.InStruct;

/// <summary>
/// Provides a nested struct example that uses Monify with string types.
/// </summary>
/// <typeparam name="T">The struct type that the outer struct is parameterized with.</typeparam>
public readonly ref partial struct OutterForString<T>
where T : struct
{
/// <summary>
/// Represents the inner class decorated by Monify for string types.
/// </summary>
[Monify<string>]
public sealed partial class Inner;
}
3 changes: 3 additions & 0 deletions src/Monify.Console/Classes/Simple/SimpleForArray.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace Monify.Console.Classes.Simple;

/// <summary>
/// Represents a simple class decorated by Monify for integer array types.
/// </summary>
[Monify<int[]>]
public partial class SimpleForArray;
3 changes: 3 additions & 0 deletions src/Monify.Console/Classes/Simple/SimpleForInt.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace Monify.Console.Classes.Simple;

/// <summary>
/// Represents a simple class decorated by Monify for integer types.
/// </summary>
[Monify<int>]
public partial class SimpleForInt;
3 changes: 3 additions & 0 deletions src/Monify.Console/Classes/Simple/SimpleForString.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace Monify.Console.Classes.Simple;

/// <summary>
/// Represents a simple class decorated by Monify for string types.
/// </summary>
[Monify<string>]
public partial class SimpleForString;
3 changes: 3 additions & 0 deletions src/Monify.Console/Records/Simple/SimpleForArray.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace Monify.Console.Records.Simple;

/// <summary>
/// Represents a simple record decorated by Monify for integer array types.
/// </summary>
[Monify<int[]>]
public partial record SimpleForArray;
3 changes: 3 additions & 0 deletions src/Monify.Console/Records/Simple/SimpleForInt.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace Monify.Console.Records.Simple;

/// <summary>
/// Represents a simple record decorated by Monify for integer types.
/// </summary>
[Monify<int>]
public partial record SimpleForInt;
3 changes: 3 additions & 0 deletions src/Monify.Console/Records/Simple/SimpleForString.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace Monify.Console.Records.Simple;

/// <summary>
/// Represents a simple record decorated by Monify for string types.
/// </summary>
[Monify<string>]
public partial record SimpleForString;
3 changes: 3 additions & 0 deletions src/Monify.Console/Structs/Simple/SimpleForArray.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace Monify.Console.Structs.Simple;

/// <summary>
/// Represents a simple readonly struct decorated by Monify for integer array types.
/// </summary>
[Monify<int[]>]
public readonly partial struct SimpleForArray;
3 changes: 3 additions & 0 deletions src/Monify.Console/Structs/Simple/SimpleForInt.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace Monify.Console.Structs.Simple;

/// <summary>
/// Represents a simple readonly struct decorated by Monify for integer types.
/// </summary>
[Monify<int>]
public readonly partial struct SimpleForInt;
3 changes: 3 additions & 0 deletions src/Monify.Console/Structs/Simple/SimpleForString.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
namespace Monify.Console.Structs.Simple;

/// <summary>
/// Represents a simple readonly struct decorated by Monify for string types.
/// </summary>
[Monify<string>]
public readonly partial struct SimpleForString;