Silverlight 5 | WinRT |
public class Context | |
public virtual Int32 ContextID { get; } | |
public virtual IContextProperty ContextProperties { get; } | |
static public Context DefaultContext { get; } | |
static public LocalDataStoreSlot AllocateDataSlot(); | |
static public LocalDataStoreSlot AllocateNamedDataSlot(String name); | |
public void DoCallBack(CrossContextDelegate deleg); | |
protected virtual void Finalize(); | |
static public void FreeNamedDataSlot(String name); | |
public virtual void Freeze(); | |
static public Object GetData(LocalDataStoreSlot slot); | |
static public LocalDataStoreSlot GetNamedDataSlot(String name); | |
public virtual IContextProperty GetProperty(String name); | |
static public Boolean RegisterDynamicProperty(IDynamicProperty prop, ContextBoundObject obj, Context ctx); | |
static public void SetData(LocalDataStoreSlot slot, Object data); | |
public virtual void SetProperty(IContextProperty prop); | |
public virtual String ToString(); | |
static public Boolean UnregisterDynamicProperty(String name, ContextBoundObject obj, Context ctx); |
public class ContextAttribute | |
: Attribute, _Attribute, IContextAttribute, IContextProperty | |
public virtual String Name { get; } | |
public virtual Boolean Equals(Object o); | |
public virtual void Freeze(Context newContext); | |
public virtual Int32 GetHashCode(); | |
public virtual void GetPropertiesForNewContext(IConstructionCallMessage ctorMsg); | |
public virtual Boolean IsContextOK(Context ctx, IConstructionCallMessage ctorMsg); | |
public virtual Boolean IsNewContextOK(Context newCtx); |
public class ContextProperty | |
public virtual String Name { get; } | |
public virtual Object Property { get; } |
public sealed class CrossContextDelegate | |
: MulticastDelegate, ICloneable, ISerializable | |
public virtual IAsyncResult BeginInvoke(AsyncCallback callback, Object object); | |
public virtual void EndInvoke(IAsyncResult result); | |
public virtual void Invoke(); |
public abstract interface IContextAttribute | |
public abstract virtual void GetPropertiesForNewContext(IConstructionCallMessage msg); | |
public abstract virtual Boolean IsContextOK(Context ctx, IConstructionCallMessage msg); |
public abstract interface IContextProperty | |
public abstract virtual String Name { get; } | |
public abstract virtual void Freeze(Context newContext); | |
public abstract virtual Boolean IsNewContextOK(Context newCtx); |
public abstract interface IContextPropertyActivator | |
public abstract virtual void CollectFromClientContext(IConstructionCallMessage msg); | |
public abstract virtual void CollectFromServerContext(IConstructionReturnMessage msg); | |
public abstract virtual Boolean DeliverClientContextToServerContext(IConstructionCallMessage msg); | |
public abstract virtual Boolean DeliverServerContextToClientContext(IConstructionReturnMessage msg); | |
public abstract virtual Boolean IsOKToActivate(IConstructionCallMessage msg); |
public abstract interface IContributeClientContextSink | |
public abstract virtual IMessageSink GetClientContextSink(IMessageSink nextSink); |
public abstract interface IContributeDynamicSink | |
public abstract virtual IDynamicMessageSink GetDynamicSink(); |
public abstract interface IContributeEnvoySink | |
public abstract virtual IMessageSink GetEnvoySink(MarshalByRefObject obj, IMessageSink nextSink); |
public abstract interface IContributeObjectSink | |
public abstract virtual IMessageSink GetObjectSink(MarshalByRefObject obj, IMessageSink nextSink); |
public abstract interface IContributeServerContextSink | |
public abstract virtual IMessageSink GetServerContextSink(IMessageSink nextSink); |
public abstract interface IDynamicMessageSink | |
public abstract virtual void ProcessMessageFinish(IMessage replyMsg, Boolean bCliSide, Boolean bAsync); | |
public abstract virtual void ProcessMessageStart(IMessage reqMsg, Boolean bCliSide, Boolean bAsync); |
public abstract interface IDynamicProperty | |
public abstract virtual String Name { get; } |
public class SynchronizationAttribute | |
: ContextAttribute, _Attribute, IContextAttribute, IContextProperty, IContributeServerContextSink, IContributeClientContextSink | |
public virtual Boolean IsReEntrant { get; } | |
public virtual Boolean Locked { get; set; } | |
public virtual IMessageSink GetClientContextSink(IMessageSink nextSink); | |
public virtual void GetPropertiesForNewContext(IConstructionCallMessage ctorMsg); | |
public virtual IMessageSink GetServerContextSink(IMessageSink nextSink); | |
public virtual Boolean IsContextOK(Context ctx, IConstructionCallMessage msg); |