Pro API C# Client Library  1.0.0.0
A C# client library for the use of developers working with the Whitepages Pro API
ExamplesLibrary.ExampleUtils Class Reference

Copyright @2015 Whitepages, Inc. More...

Static Public Member Functions

static string GetApiKey (string[] args)
 
static void DumpPerson (IPerson person, int depth, int indent=0)
 
static void DumpBusiness (IBusiness business, int depth, int indent=0)
 
static void DumpLocation (ILocation location, int depth, int indent=0)
 
static void DumpPhone (IPhone phone, int depth, int indent=0)
 

Static Private Member Functions

static int GetSpamScore (IPhone phone)
 
static void BestLocation (ILocation location, int depth, int indent)
 
static void DumpBaseEntity (IEntity entity, int depth, int indent)
 
static void DumpPersonAssociation (PersonAssociation association, int depth, int indent)
 
static void DumpBusinessAssociation (BusinessAssociation association, int depth, int indent)
 
static void DumpLocationAssociation (LocationAssociation association, int depth, int indent)
 
static void DumpPhoneAssociation (PhoneAssociation association, int depth, int indent)
 
static void PrintName (IEntity entity, int indent)
 
static void WriteLine (int indent, string format, Object value=null)
 
static void Indent (int howMany)
 

Private Attributes

const int DefaultIndent = 4
 

Detailed Description

Copyright @2015 Whitepages, Inc.

Definition at line 11 of file ExampleUtils.cs.

Member Function Documentation

static void ExamplesLibrary.ExampleUtils.BestLocation ( ILocation  location,
int  depth,
int  indent 
)
staticprivate

Definition at line 110 of file ExampleUtils.cs.

static void ExamplesLibrary.ExampleUtils.DumpBaseEntity ( IEntity  entity,
int  depth,
int  indent 
)
staticprivate

Definition at line 122 of file ExampleUtils.cs.

static void ExamplesLibrary.ExampleUtils.DumpBusiness ( IBusiness  business,
int  depth,
int  indent = 0 
)
static

Definition at line 46 of file ExampleUtils.cs.

static void ExamplesLibrary.ExampleUtils.DumpBusinessAssociation ( BusinessAssociation  association,
int  depth,
int  indent 
)
staticprivate

Definition at line 193 of file ExampleUtils.cs.

static void ExamplesLibrary.ExampleUtils.DumpLocation ( ILocation  location,
int  depth,
int  indent = 0 
)
static

Definition at line 52 of file ExampleUtils.cs.

static void ExamplesLibrary.ExampleUtils.DumpLocationAssociation ( LocationAssociation  association,
int  depth,
int  indent 
)
staticprivate

Definition at line 198 of file ExampleUtils.cs.

static void ExamplesLibrary.ExampleUtils.DumpPerson ( IPerson  person,
int  depth,
int  indent = 0 
)
static

Definition at line 31 of file ExampleUtils.cs.

static void ExamplesLibrary.ExampleUtils.DumpPersonAssociation ( PersonAssociation  association,
int  depth,
int  indent 
)
staticprivate

Definition at line 188 of file ExampleUtils.cs.

static void ExamplesLibrary.ExampleUtils.DumpPhone ( IPhone  phone,
int  depth,
int  indent = 0 
)
static

Definition at line 84 of file ExampleUtils.cs.

static void ExamplesLibrary.ExampleUtils.DumpPhoneAssociation ( PhoneAssociation  association,
int  depth,
int  indent 
)
staticprivate

Definition at line 205 of file ExampleUtils.cs.

static string ExamplesLibrary.ExampleUtils.GetApiKey ( string[]  args)
static

Definition at line 15 of file ExampleUtils.cs.

static int ExamplesLibrary.ExampleUtils.GetSpamScore ( IPhone  phone)
staticprivate

Definition at line 105 of file ExampleUtils.cs.

static void ExamplesLibrary.ExampleUtils.Indent ( int  howMany)
staticprivate

Definition at line 225 of file ExampleUtils.cs.

static void ExamplesLibrary.ExampleUtils.PrintName ( IEntity  entity,
int  indent 
)
staticprivate

Definition at line 214 of file ExampleUtils.cs.

static void ExamplesLibrary.ExampleUtils.WriteLine ( int  indent,
string  format,
Object  value = null 
)
staticprivate

Definition at line 219 of file ExampleUtils.cs.

Member Data Documentation

const int ExamplesLibrary.ExampleUtils.DefaultIndent = 4
private

Definition at line 13 of file ExampleUtils.cs.