src/DSerfozo.RpcBindings/DynamicProxy/Castle.DynamicProxy/ModuleScope.cs
/// <summary>
///   Saves the generated assembly with the name and directory information given when this <see cref = "ModuleScope" /> instance was created (or with
///   the <see cref = "DEFAULT_FILE_NAME" /> and current directory if none was given).
/// </summary>
/// <remarks>
///   <para>
///     This method stores the generated assembly in the directory passed as part of the module information specified when this instance was
///     constructed (if any, else the current directory is used). If both a strong-named and a weak-named assembly
///     have been generated, it will throw an exception; in this case, use the <see cref = "SaveAssembly (bool)" /> overload.
///   </para>
///   <para>
///     If this <see cref = "ModuleScope" /> was created without indicating that the assembly should be saved, this method does nothing.
///   </para>
/// </remarks>
/// <exception cref = "InvalidOperationException">Both a strong-named and a weak-named assembly have been generated.</exception>
/// <returns>The path of the generated assembly file, or null if no file has been generated.</returns>
Saves the generated assembly with the name and directory information given when this  instance was created (or with
the  and current directory if none was given).
Saves the generated assembly with the name and directory information given when this instance was created ( or with the and current directory if none was given ) .
public string SaveAssembly()
		{
			if (!savePhysicalAssembly)
			{
				return null;
			}
			if (StrongNamedModule != null && WeakNamedModule != null)
			{
				throw new InvalidOperationException("Both a strong-named and a weak-named assembly have been generated.");
			}
			if (StrongNamedModule != null)
			{
				return SaveAssembly(true);
			}
			if (WeakNamedModule != null)
			{
				return SaveAssembly(false);
			}
			return null;
		}
public string SaveAssembly ( ) { if ( ! savePhysicalAssembly ) { return null ; } if ( StrongNamedModule != null && WeakNamedModule != null ) { throw new InvalidOperationException ( " " ) ; } if ( StrongNamedModule != null ) { return SaveAssembly ( true ) ; } if ( WeakNamedModule != null ) { return SaveAssembly ( false ) ; } return null ; }
Saves the generated assembly with the name and directory information given when this  instance was created (or with
the  and current directory if none was given).
Saves the generated assembly with the name and directory information given when this instance was created ( or with the and current directory if none was given ) .
The path of the generated assembly file, or null if no file has been generated.
The path of the generated assembly file or null if no file has been generated .
Both a strong-named and a weak-named assembly have been generated.
Both a strong - named and a weak - named assembly have been generated .
remarks
This method stores the generated assembly in the directory passed as part of the module information specified when this instance was
constructed (if any, else the current directory is used). If both a strong-named and a weak-named assembly
have been generated, it will throw an exception; in this case, use the
overload.

If this  was created without indicating that the assembly should be saved, this method does nothing.
This method stores the generated assembly in the directory passed as part of the module information specified when this instance was constructed ( if any else the current directory is used ) . If both a strong - named and a weak - named assembly have been generated it will throw an exception ; in this case use the overload . If this was created without indicating that the assembly should be saved this method does nothing .