Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6911859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:00:41+00:00 2026-05-27T09:00:41+00:00

Suppose, I have three assemblies A1, A2, A3. A1 uses A2 and A2 uses

  • 0

Suppose, I have three assemblies A1, A2, A3. A1 uses A2 and A2 uses A3. My problem is that A2 public function has a parameter which is an enumeration defined in A3, so to make use of A2 in A1 I also need to reference A3 just for this enumeration. I could of course create a new enumeration in A2 and then convert values, but it doesn’t seem like a good solution. Is there any way that I can expose the enumeration in A3 through A2 to A1, so I don’t have to reference A3 in A1 and A1 will only depend on A2?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T09:00:42+00:00Added an answer on May 27, 2026 at 9:00 am

    As long as the enumeration is defined in A3 and A2 exposes a parameter / variable / property of that enumeration, you need to reference A3 in A1. There is no way around it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let us suppose i have these three methods defined: int F1(int, int); int F1(float,
Suppose that I have those three files: a.h //a.h header #include <stdio.h> int int_variable;
suppose that we have three array int a[]=new int[]{4,6,8,9,11,12}; int b[]=new int[]{3,5,7,13,14}; int c[]=new
Suppose that I have a database query which looks like below - select name,
The problem Suppose I have three classes A, B and C, where B is
Suppose I have a List<IMyInterface> ... I have three classes which implement IMyInterface :
Suppose I have three tables: user , group and xref , a table that
Suppose I have three C static libraries say libColor.a which depends on *libRGB.*a which
I have an algorithmic problem which can be reduced to this task: Suppose we
Suppose I have three classes. It is valid to instantiate A, but there are

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.