src/Castle.Core/DynamicProxy/ModuleScope.cs
/// <summary>
///   Gets the strong-named module generated by this scope, creating a new one if none has yet been generated.
/// </summary>
/// <returns>A strong-named module generated by this scope.</returns>
Gets the strong-named module generated by this scope, creating a new one if none has yet been generated.
Gets the strong - named module generated by this scope creating a new one if none has yet been generated .
public ModuleBuilder ObtainDynamicModuleWithStrongName()
		{
			if (disableSignedModule)
			{
				throw new InvalidOperationException(
					"Usage of signed module has been disabled. Use unsigned module or enable signed module.");
			}
			lock (moduleLocker)
			{
				if (moduleBuilderWithStrongName == null)
				{
					moduleBuilderWithStrongName = CreateModule(true);
				}
				return moduleBuilderWithStrongName;
			}
		}
public ModuleBuilder ObtainDynamicModuleWithStrongName ( ) { if ( disableSignedModule ) { throw new InvalidOperationException ( " " ) ; } lock ( moduleLocker ) { if ( moduleBuilderWithStrongName == null ) { moduleBuilderWithStrongName = CreateModule ( true ) ; } return moduleBuilderWithStrongName ; } }
Gets the strong-named module generated by this scope, creating a new one if none has yet been generated.
Gets the strong - named module generated by this scope creating a new one if none has yet been generated .
A strong-named module generated by this scope.
A strong - named module generated by this scope .