PreEmptive Analytics .NET API  1.3
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | Static Public Member Functions | Properties | List of all members
PreEmptive.Analytics.Common.BinaryInfo Class Reference

Describes the binary file (executable) which is sending the message More...

Public Member Functions

void LoadFromAssembly (Assembly asm)
 Sets the current BinaryInfo values based on the provided Assembly. More...
 
 BinaryInfo (string method=null, string @class=null, string asmnam=null, string version=null, Guid?id=null, DateTime?modified=null)
 Constructor for BinaryInfo. More...
 
BinaryInfoTag ToTag ()
 Converts the current BinaryInfo instance to a BinaryInfoTag. More...
 

Static Public Member Functions

static BinaryInfo GetCurrent ()
 Gets a BinaryInfo object and will attempt to fill in Version and Name from the calling assembly information More...
 

Properties

Guid ID [get, set]
 A unique identifier given to the binary. More...
 
DateTime LastModified [get, set]
 Time the binary was last modified. More...
 
string Name [get, set]
 Name of the binary. More...
 
string Version [get, set]
 Version of the binary. More...
 
string ClassName [get, set]
 Name of the class which is sending the message. More...
 
string MethodName [get, set]
 Name of the method which is sending the message. More...
 

Detailed Description

Describes the binary file (executable) which is sending the message

Constructor & Destructor Documentation

PreEmptive.Analytics.Common.BinaryInfo.BinaryInfo ( string  method = null,
string @  class = null,
string  asmnam = null,
string  version = null,
Guid?  id = null,
DateTime?  modified = null 
)

Constructor for BinaryInfo.

Parameters
methodName of the method which is sending the message.
className of the class which is sending the message.
asmnamName of the binary.
versionVersion of the binary.
idA unique identifier given to the binary.
modifiedTime the binary was last modified.

Member Function Documentation

static BinaryInfo PreEmptive.Analytics.Common.BinaryInfo.GetCurrent ( )
static

Gets a BinaryInfo object and will attempt to fill in Version and Name from the calling assembly information

Returns
void PreEmptive.Analytics.Common.BinaryInfo.LoadFromAssembly ( Assembly  asm)

Sets the current BinaryInfo values based on the provided Assembly.

Parameters
asmThe Assembly to gather binary information from.
BinaryInfoTag PreEmptive.Analytics.Common.BinaryInfo.ToTag ( )

Converts the current BinaryInfo instance to a BinaryInfoTag.

Returns
The resulting BinaryInfoTag.

Property Documentation

string PreEmptive.Analytics.Common.BinaryInfo.ClassName
getset

Name of the class which is sending the message.

Guid PreEmptive.Analytics.Common.BinaryInfo.ID
getset

A unique identifier given to the binary.

DateTime PreEmptive.Analytics.Common.BinaryInfo.LastModified
getset

Time the binary was last modified.

string PreEmptive.Analytics.Common.BinaryInfo.MethodName
getset

Name of the method which is sending the message.

string PreEmptive.Analytics.Common.BinaryInfo.Name
getset

Name of the binary.

string PreEmptive.Analytics.Common.BinaryInfo.Version
getset

Version of the binary.


The documentation for this class was generated from the following file: