Feature Requests

I suggest you ...

(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. Event aggregation aspect

    Automatically publishes events of an object to an event aggregator.

    32 votes
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)

      We’ll send you updates on this idea

    • Customizable exceptions thrown by Contracts aspects

      E.g. NotEmpty throws ArgumentNullException even when string parameter is empty. It should be possible to change the default behavior so that ArgumentException would be thrown instead.

      18 votes
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        Signed in as (Sign out)

        We’ll send you updates on this idea

      • Undo/redo: API to merge operations

        The idea comes from http://stackoverflow.com/questions/29982822/nested-undo-redo-operations-with-postsharp

        The API would merge the last operations in UndoOperations and RedoOperations (up to a given operation) into a new operation with given descriptor.

        The use case is to "hide" some level of details that makes sense within a form when the user closes that form.

        5 votes
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          Signed in as (Sign out)

          We’ll send you updates on this idea

        • OnPropertyNameChanged, OnPropertyNameChanging callbacks

          We often want to do something when a certain property value changes. Therefore, it will be very convenient if in the case of a value change, the PostSharp library will run a predefined function.

          For example, in ViewModel there is a property named ProductId.

          The programmer will be able to write a function called OnProductIdChanged that will be executed if the ProductId value changes.

          How it will happen: When the value of a property changes, the PostSharp library checks whether there is a function named OnPropertyNameChanged. If it does, it will be executed.

          This need is so common, and saves…

          2 votes
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            Signed in as (Sign out)

            We’ll send you updates on this idea

          • Support NotifyPropertyChanged for external static fields

            As a developer I do expect property changes to be raised even when i depend on external static fields.
            This issue has been pointed out in the following thread:
            http://support.sharpcrafters.com/discussions/questions/1565-notifypropertychanged-and-static-property

            I lost a lot of time trying to understand what i was doing wrong before contacting the support because it felt like it should just work to me.

            Honestly, i don't understand exactly what the problem is but, i have been told it's a design choice and I have been provided with a working workaround.

            Couldn't this workaround be automated by postsharp?

            2 votes
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              Signed in as (Sign out)

              We’ll send you updates on this idea

            • Opt out of NotifyPropertyChanged aspect

              NotifyPropertyChanged generates an unbearable overhead if the call count reaches millions of times.

              Often the concerning properties are read-only (e.g. an ID), so wouldn't need PropertyChanged support at all.

              I would like a way to opt out of PropertyChanged for individual properties.

              1 vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                Signed in as (Sign out)

                We’ll send you updates on this idea

              • Change misleading alternative in Niche Languages column

                Here is page https://www.postsharp.net/alternatives.

                Here is column header
                ```
                Niche Languages
                F#, Erlang
                ```

                I doubt Erlang relates to .NET as viable alternative at at all.
                Niche Language which is Niche and is concurrent of Postsharp is https://github.com/rsdn/nemerle.

                What `niche language` means?
                F# may be `niche` as current number of users.
                But F# is NOT Niche about its applicability. Its applicable in areas of scripting and tooling and data munging and secured engineering is LARGER than of C#. In this sense C# is `niche`.

                About F#. Your statements are wrong and do you bad job advertising Postsharp product…

                1 vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  Signed in as (Sign out)

                  We’ll send you updates on this idea

                • Equality aspect

                  Automatic generation of Equals and GetHashCode.

                  0 votes
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    Signed in as (Sign out)

                    We’ll send you updates on this idea

                  • Don't see your idea?

                  Feedback and Knowledge Base