-
-
Save polatengin/5851e2e34124f8c6a15b1a6b97b1cdd0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C#’ta assembly: InternalsVisibleToAttribute kullanımı |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Kutuphane; | |
namespace InternalsVisibleToTest | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var vt = new VeritabaniErisimi(); | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Runtime.CompilerServices; | |
[assembly: InternalsVisibleTo("InternalsVisibleToTest")] | |
namespace Kutuphane | |
{ | |
internal class VeritabaniErisimi | |
{ | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Kutuphane | |
{ | |
internal class VeritabaniErisimi | |
{ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment