Click or drag to resize

EntryAssemblyAttribute Class

Set attributes "EntryAssemble" to Web or Win application at the "AssemblyInfo.cs" file.
Inheritance Hierarchy

Namespace:  SIC
Assembly:  SIC (in SIC.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public sealed class EntryAssemblyAttribute : Attribute

The EntryAssemblyAttribute type exposes the following members.

Constructors
  NameDescription
Private methodStatic memberEntryAssemblyAttribute
Public methodEntryAssemblyAttribute
Initializes a new instance of the EntryAssemblyAttribute class
Top
Properties
  NameDescription
Public propertyStatic memberHasEntryAssembly
Check has once entry assembly
Public propertyTypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)
Top
Methods
  NameDescription
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Private methodStatic memberFindEntryAssemblyInCurrentAppDomain
Finds the entry assembly in the current app domain.
Private methodStatic memberFindEntryAssemblysInCurrentAppDomain
Finds all entry assemblys in the current app domain.
Public methodStatic memberGetEntryAssembly
Gets the entry assembly.
Private methodStatic memberGetEntryAssemblyLazily
Invoked lazily to find the entry assembly. We want to cache this value as it may be expensive to find.
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsDefaultAttribute
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.)
Public methodMatch
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetObjectToBytes
Convert an object to byte array
(Defined by Extensions.)
Public Extension MethodIsNumber
Check is value a number
(Defined by Convert.)
Public Extension MethodToHTMLDisplay(DataGrid, TempDataDictionary)Overloaded. (Defined by Extensions.)
Public Extension MethodCode exampleToHTMLDisplay(String, DataGridDataTypes, String, String, String, String, TempDataDictionary)Overloaded.
Gives HTML code for display.
(Defined by Extensions.)
Public Extension MethodToHTMLEditor(DataGrid, TempDataDictionary, String)Overloaded. (Defined by Extensions.)
Public Extension MethodToHTMLEditor(String, DataGridDataTypes, String, String, String, TempDataDictionary, Boolean, String, DataPlacements, String, String)Overloaded.
Gives HTML code for Input field
(Defined by Extensions.)
Public Extension MethodCode exampleToHTMLHidden(String)Overloaded.
Gives HTML code for hidden data
(Defined by Extensions.)
Public Extension MethodToHTMLHidden(DataGrid)Overloaded.
Gives HTML code for hidden data
(Defined by Extensions.)
Public Extension MethodXMLWrite
Gives XML string from data item
(Defined by Helper.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate method_AttributeGetIDsOfNames
Maps a set of names to a corresponding set of dispatch identifiers.
(Inherited from Attribute.)
Explicit interface implementationPrivate method_AttributeGetTypeInfo
Retrieves the type information for an object, which can be used to get the type information for an interface.
(Inherited from Attribute.)
Explicit interface implementationPrivate method_AttributeGetTypeInfoCount
Retrieves the number of type information interfaces that an object provides (either 0 or 1).
(Inherited from Attribute.)
Explicit interface implementationPrivate method_AttributeInvoke
Provides access to properties and methods exposed by an object.
(Inherited from Attribute.)
Top
Remarks
EntryAssembly attribute is used in method SettingName.

Exception handling and solution

System.InvalidOperationException was unhandled by user code HResult=-2146233079

Message=Die Sequenz enthält keine Elemente.

Solution: sets EntryAssembly at application assembly

Examples
Declaration of EntryAssembly into AssemblyInfo.cs file
[assembly: EntryAssembly]
See Also